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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,037 views 15 13
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