Redirect Confluence URL

Hi,

My project has used Confluence and Jira for about a year now and have over a hundred users who know and use these links daily. We recently set up a proxy for those outside of our network to access these sites. At the moment, the url for our confluence, for example, is still https://confluence.mycompany.com:8443.

Now that we have set up a proxy, we had to add /wiki to the end of the url by modifying 'path"/wiki"' in server.xml for it to work properly. So users can now access confluence from the proxy, when outside of our network, at https://proxy.mycompany.com:8443/wiki or at the original server https://confluence.mycompany.com:8443/wiki.

I have now changed my baseurl to include /wiki on the end. Since the users are already familiar with the original url, I want to redirect that original url, https://confluence.mycompany.com:8443, to https://confluence.mycompany.com:8443/wiki, but haven't been able to figure out how to do it properly.

I have added a redirect in index.html that redirects https://confluence.mycompany.com to https://confluence.mycompany.com:8443/wiki but I can't figure out a redirect that works with the port number on the end, as in the original url. Some suggestions I've read suggest a proxy, but I'm already proxying to another server. Any help would be appreciated!

1 answer

Hi there, you may modify the web-inf/urlrewrite.xml. There are some examples of how to create redirect rules at the following links:

Cheers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,916 views 27 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you