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] </IfModule>
This probably wouldn’t have been such an issue, but the change of hosting provider (from GoDaddy to NearlyFreeSpeech.net) was basically going from a Windows box to a Unix box.
- WordPress Blog & The Tools for the Job It was then, just as I was about to start...

Coding Horror


