This should be a common knowledge for all wordpress users, or so I feel like that. Everyone wants to have “pretty” links for their blogs/sites as oppose to the ugly ones.
A quick description of what I am talking about (Permalinks):
In case you didn’t already know (it could be that you just started with WordPress), WordPress gives you an option to have your links be re-written from:
http://www.yoursite.com/?p=123 to
http://www.yoursite.com/2009/01/06/sample-post/ or
http://www.yoursite.com/2009/01/sample-post/ or
http://www.yoursite.com/archives/123
OR,
you could custom write the re-write rule.
So, I didn’t like any of the given options, and so I re-wrote mine as follows:
“/%category%/%postname% ”
Noticed anything wierd?
After having my settings saved, I moved on to other things… completely oblivious to the effect this setting had. As it turned out, when I tried to access my posts tonight, I encountered the 404 errors. After couple of minutes of head scratching, it hit me…
“This must be due to the Permalinks settings”
I checked and saw that it was indeed the Permalinks settings that was causing this problem. The glitch was that there was an extra space at the VERY end of the re-write rule…
So, here’s the lesson to be learned:
Make sure you don’t have any spaces after the re-write rule.
Popularity: 1% [?]
Posted by
Under
Tags: 
No Comment Received
Leave A Reply