Fixing the 404 Error by Re-saving Permalink Structure

July 4, 2009, filed under Quick Internet Tips


Just now I reset one of my domains and its content. What I did was unassign the domain from my hosting account, backup the database and delete the domain’s directory in my account. I was going to create only a fresh installation of my domain but keep using the same content as before. Everything worked well from the re-assigning to restoring the database.

But when I started to browse each individual posts and category archives, they all returned a 404 error of "Page not found". I checked the permalinks of each posts and found nothing wrong. Permalink structure was also the same as before I reinstall the domain.

Then I googled and found a suggestion to re-save the permalink setting to force Wordpress to regenerate the permalink rules. That reset everything back again…

And guess what..? It works!

Credit goes to ozgreg :)

Read more:
WordPress 2.3.2 Released! taken from the original source Newly released WordPress 2.3.2 has...
Blogging – Make Sure You Know What You’re Doing! As a few days ago, I had a problem with...
Domain Registration – PayLessDomains.com.au If you’re planning to do another domain registration, here’s one...
Resolving The Feed Too Large Error Just now I reviewed my web crawl errors using Google...

Tell others about the article!

Add to Mixx!

Fast and semi auto bookmark to 45 social bookmarking services!
Let me send you free updates!

What people say

2 Comments »

Pit on 2009-07-08 02:06:32 said

Very nice blog

 
denbagus on 2009-11-11 04:22:58 said

great information…thank you
denbagus“s last blog ..8 Very Useful JQuery forms

 

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!
 

Author / Blog Name
E-mail (optional)
URI
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.



<<         >>

|