Main Page Url Rewrite

we have a confluence that is access by the url

I have set the start page in configuration to the News page of Intranet space, thus as soon as user go to,com he/she is redirected to

I need a simple url rewrite, so the user will see in the address bar just but the content should be from INTRANET/News... so I need rewrite, not redirect - any Ideas

I've tried tweek urlrewrite.xml (with the plugin installed):



<to type="redirect">/display/INTRANET/News</to>






However it throws exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 3
at java.lang.String.charAt(
P.S. I'm testing on test machine (on live I have "port forwarding" so it is public through the IIS)

1 answer

1 accepted

0 votes
Accepted answer

This should help you get started:

I think I have a loop:

1. redirects to

2. in preferences I set homepage to be /INTRANET/News so it is redirected there

3. And what is weird, my outbound rule is treat like redirect to and we have a loop

P.S. I'm already using tuckey dlls for that

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,116 views 59 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