Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Customizing Confluence URL


I have a question about URLs.

Is there a way to change my long URL

to a little bit more short, for example

I've installed Advanced Redirection plugin but it is able to redirect to a static URLs only, so I can't use the PageID to right redirection. I mean I can't change ...pages/viewpage.action?pageId=111 to desirable without hard codding, because the 'Redirect to' parameter doesn't support dynamically addresses.

My google search can't answer=)

Please help!



2 answers

1 accepted

1 vote
Answer accepted

There is no option to do this in Confluence as I know. This should be done using a webserver rewrite (e.g. Apache Rewrite).

Correct. This should be intermediate difficulty for a serious netadmin or webserver admin. Confluence has some documentation but they say in a big note, "We do not support customized configurations! Can't help ya!" for good reason: There are unlimited options for web applications and url configurations. You would need to front Tomcat with Apache and then in the text configuration file, you would call the module and then load in your rules for writing.

0 votes
Deleted user Oct 18, 2014

Confluence URLs are usually user-friendly. You only get long ugly ones like your example when there are special characters in the title. A page title of "Hello World" would be something like

but if you add punctuation such as "Hello, World!" it changes to look like your example.

If you look in Tools > Page Information, there's already a short "tiny link" URL for every Confluence page that is generated when the page is created and doesn't change if the title is edited. They look like this:

It might be possible to retrieve that short URL programmatically. Someone more knowledgeable then me would have to advise on that.

Thank you! But I use Russian letters in my page names, so I have long URLs everytime =) I've find the solution in editing urlrewrite.xml

Hello mate,

Sorry to "rescue" this topic after so much time, but how exactly you've solve the problem editing urlrewrite.xml?

I don't use Russian, but use Portuguese with so many long URLs and special characters as you do =D

So I have the very same problem, I don't know how to resolve. There's an "open status" Jira ticket since 2004, but seems that Atlassian still hasn't accept it to their backlog.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

79 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you