Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Friendly URLs, getting them activated.. ?
Ok this might be really basic, but i've tried searching and tried looking around..
The .htaccess file is there by default, and SEF URLs DO work.. eg if I manually type in /discussion/1/ then it DOES load discussion ID 1.. but how do I make it so all the links are correct? Eg right now all my links in Vanilla still use the normal URLs not the friendly URLs.. ?
There's nothing in the settings.. and as per the addon I tried adding the following line to my settings file:
$Configuration['URL_BUILDING_METHOD'] = 'mod_rewrite';
..but it didn't change anything.
What am I missing here?! :(
0
This discussion has been closed.
Comments
$Configuration['URL_BUILDING_METHOD'] = 'mod_rewrite'; // Standard or mod_rewrite
edit: DOH!... I need to re-read the thread.
The urls are built in the framework/Framework.Functions.php file, if you insert some strategic comments in the getUrl function you can effectively bypass the configuration setting: