HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to make short discussion URLs for Vanilla

LincLinc Detroit Admin

A typical Vanilla discussion URL looks like this: https://vanillaforums.org/discussion/31488/how-to-make-short-discussion-urls-for-vanilla

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: https://vanillaforums.org/d/31488

Give it a shot on this site. :chuffed:


Sign In or Register to comment.