Rss Feed
Tweeter button
Facebook button
Myspace button
Delicious button
Digg button
Flickr button
Stumbleupon button

Upgrading to Wordpress 2.7 killed my permalinks

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:


Leave a Reply

A little about me

Heya, I am Fiona or Fiona-chan. I am a 26-ish Chinese-American gal who loves dramas & movies, video games, manga & anime, music, writing, history, all things geek and Japanese. My true indulgences include chocolate, cheesecake, Häagen-Dazs ice cream and Arashi (fangirling since 2008).

Random Quote

Words like that hurt my heart like a paper cut…it hurt. — Kanzaki Hiroto

Arashi Birthdays
Credits
  • Arashi scans: yuckie-chan, boys_paper, SNG & various @ livejournal
  • Avatars: various @livejournal.com
  • Smilies: noktahhitam.com
  • Disclaimer: All media (images, video, audio, etc) belong to their respective owners unless otherwise stated.

CDJapan
Get your own free Blogoversary button!