January 6, 2010

403 forbidden with WordPress

Category: WordPress, khadlock at 1:56 pm

After hours of debugging a 403 forbidden error with a WordPress blog we finally found the issue. Some servers require the following line of code before the default mod_rewrite code provided by WordPress:

Options +FollowSymLinks

So your updated mod_rewrite will look similar to this:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
Bookmark and Share

Leave a Reply