Confluence article slug

Is there a way to change the article slugs used on Confluence? We would like to use unique numbers rather than article titles in our URLS.

 

For instance:

https://mysite.atlassian.net/wiki/display/space/490294

 

Instead of:

https://mysite.atlassian.net/wiki/display/space/This+is+a+document

1 answer

1 accepted

0 vote

A slug is a garden-munching invertebrate, or slang for a bullet.  You obviously mean urls though.

Confluence tries to generate "friendly" urls automatically, but it will always still respond when you use the page ID in a url - the first format you gave is always valid.

I don't think you can turn off friendly urls in Cloud (and I'm not sure it's easy on server), but there is a trick - friendly urls are only generated when it can translate them into something that works.  The process chokes if there's any characters it can't handle in the title, and it reverts to using the page id.  So if you get your users to stick odd characters in every page name...

I still shudder at the word "slug", no matter how it's appropriated for a different use.  Horrible ugly creatures that eat my garden and slime things up worse than a hungry ghost!  :-)

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,775 views 26 10
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