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

This widget could not be displayed.

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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

602 views 8 6
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