Redirect Confluence URL


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

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 or at the original server

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,, to, but haven't been able to figure out how to do it properly.

I have added a redirect in index.html that redirects to 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:


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,304 views 91 8
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