Fourteen and a half crazy frog burpers

24th January 2010

Blog posts redirecting to homepage

Filed under: Hosting,Wordpress — Tags: , — Alex Holt @ 3:30 pm

Over the last week or two, I hadn’t spotted but my blog posts were all redirecting to my homepage. This is due to my stupidity. Plain and simple. I didn’t check once the website had completed its move across hosting providers and the URL redirecting had failed.

However, it was fairly simple. When I visited the Permalink settings within WordPress, it came up with the following warning:

If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.

To fix it, it was just as easy – do exactly as it says. I updated my .htaccess file to include the following text.

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /blog/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /blog/index.php [L]

This probably wouldn’t have been such an issue, but the change of hosting provider (from GoDaddy to was basically going from a Windows box to a Unix box.

Leave a comment


Theme designed & built for by Alex Holt. Powered by WordPress