The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change the URL dyanamically in confluence page

Ganesh Punalkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2019

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 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!

TAGS
AUG Leaders

Atlassian Community Events