God damn upgrade!!! The process went extremely well, too well to be exact and I knew something was wrong. As soon as I tested the links to my posts and comments, those wonderful 404 Not Found errors had appeared. All of my permalinks went puff!! I was definitely not a happy camper!! :(

Spent a good part of last evening restoring the files and database and still no success after an hour. Off I went searching for a solution on Google.com and WordPress’ forum, I was quite frustrated by then. Then, something had hit me! Not relying on oh-so-helpful WordPress permalink section, off I went looking for the .htaccess file….

…and there was the answer!! Stupid version 2.7 does not modify the .htaccess for permalinks!!  *sigh* Good thing that I am very, very familiar with mod_rewirte. Less than a minute later, my permalink issue was solved. :D

Here’s the code that was added to .htaccess, the file is found within the directory where the script is installed:

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Possibly Related Posts: