Reputation: 13
None of the links in Vanilla forum seem to go anywhere. Its like i'm stuck on the homepage and index.php is not picking up any of the url links.
my .htaccess file:
# Modified
# If you modify this file then change the above line to: # Modified
<IfModule mod_rewrite.c>
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
RewriteBase /forum-new
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
</IfModule>
Any help would be greatly appreciated, i'm using v2.1 of Vanilla
Upvotes: 1
Views: 319
Reputation: 1889
I wonder about your last line with a backward slash, just remove it.
RewriteRule ^(.*)$ index.php?p=$1 [QSA,L]
Note: This .htaccess is not only related to Vanilla. But used commonly (incl Wordpress)
Upvotes: 1