Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change the URL dyanamically in confluence page

Coflunce page:h https://atlassian.net/wiki/spaces/pages/420185865/Post+Cloning+Checklist

text: https://INSTANCENAME/abc.html 

https://atlassian.net/wiki/spaces/pages/420185865/Post+Cloning+Checklist?INSTANCENAME=dev

https://dev/abc.html 

 

https://atlassian.net/wiki/spaces/pages/420185865/Post+Cloning+Checklist?INSTANCENAME=test

https://test/abc.html 

I watn to change URL dynamically passing the valur in URL is it possible

1 answer

0 votes
Diego Atlassian Team Mar 22, 2019

Hello there Ganesh! Confluence does not have this feature natively. We need to use external tools to achieve such result. A tool that may have exactly you need is mod_proxy.

This could be done with a RewriteRule or Redirect via Apache mod_proxy:

Apache Module mod_rewrite

Redirecting and Remapping with mod_rewrite

The rule you want may look like this in your files to the redirect into test:

RewriteEngine on
RewriteRule   "^/?INSTANCENAME=test"  "https://test/abc.html "  [R,L]

Let me know your thoughts and how we could assist your further!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

65 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you