WordPress redirection is not working

October 24, 2010 by: Akhthar Parvez

If your wordpress is not displaying posts and categories alike eventhough the wordpress loads fine, it’s most likely that the redirection which is an integral part of WordPress is not working. You need to ensure the following things are setup:

1. Your webserver is built with rewrite module support.

2. You have the following lines in your .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} sysadminguide\.com$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

That’s it! If the above show fine and your WP still doesn’t work, check logs and you should see the obvious reason there.

Leave a Reply

You must be logged in to post a comment.