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 votes
Accepted answer

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!  :-)

Fair enough :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,202 views 4 6
Read article

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