Access forbidden after adding .htaccess for Pretty Permalinks mod_rewrite
-
I recently moved my site to a new Linux Server running Apache 2.0 and am trying to update the Pretty Permalinks to the new URL. WP wasn’t able to install the .htaccess file automatically, but I did manually install it with the following code:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
I set the permissions of the file to 666 and uploaded it to my server. Now, all of the pages I go to throw this error message:
Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403
The directory is not read-protected and the index document is in the default directory. I’ve read the Pretty Permalinks Codex Doc and forwarded it along to my IT department, but none of the methods solved the problem. Please help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Access forbidden after adding .htaccess for Pretty Permalinks mod_rewrite’ is closed to new replies.