Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

How to make short discussion URLs for Vanilla

LincLinc Director of DevelopmentDetroit Vanilla Staff
edited January 2016 in Development

A typical Vanilla discussion URL looks like this:

That's a lot of characters, especially when using something like Twitter, or even just when you need to type it out on, say, your phone. There's a quick way around this however because Vanilla only really needs the DiscussionID number, and you can make your own routing rules. Go to Routes in your Dashboard and add this:

  • Expression: ^d/([\d]*)
  • Target: discussion/$1
  • Type: Permanent (301)

Now you can use this short link structure:

Give it a shot on this site. :chuffed:

Sign In or Register to comment.