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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

788 views 23 12
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