Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Remove querystrings from URLs
nicepaul
✭
I have URLs like this:
http://www.video125.co.uk/forum/index.php?p=/discussion/552
Shorter URLs work, but because internally Vanilla is linking to the longer URLs, these will never actually be used:
http://www.video125.co.uk/forum/discussion/552
How do I get Vanilla to use the cruft-free URLs when linking to discussions etc?
thanks,
Paul
0
Answers
I found an option in the Formatting plugin to 'use pretty URLs'.
...for this to work out of the the box, you'll need to include the .htaccess file in your installation too. You can't see it unless you've enabled viewing hidden files though. I think this is a common error :-)
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
I had included the .htaccess file. In fact, the latest version of Vanilla won't let you get past the setup screen without it.
Which version are you referring to by, latest version ?
There was an error rendering this rich post.
The version I downloaded from the website yesterday. 2.0.18.4
$Configuration['Garden']['RewriteUrls'] = TRUE;
.htaccess just handles the redirect, they don't don't tell vanilla to use friendly urls.
grep is your friend.
As I mentioned above, I fixed this using an option in the Formatting plugin to 'use pretty URLs'.
thanks,
Paul
which sets that for you.
grep is your friend.