Vanilla — Pretty Permalinks

Being a long time user of WordPress, I love the pretty permalink feature. This feature in WordPress works out of the box.

I started using Vanilla recently on a website that I run and manage and found that the forum application is not using pretty permalinks.

I could have used nginx server blocks to rewrite the URLs using the rewrite directive but before that I wanted to find out if Vanilla ships with this feature, out of the box.

Turns out that Vanilla’s pretty permalink feature can be enabled using the config like shown in https://stackoverflow.com/a/53923139/5569979

Set the following config in /conf/config-defaults.php

$Configuration['Garden']['RewriteUrls'] = true;

That’s all you need to do. If pretty permalinks don’t work for you then make sure to get the nginx configuration right. Read Vanilla — A BBPress Alternative to learn more about nginx configuration for Vanilla.

Leave a Reply

Your email address will not be published. Required fields are marked *