Fixing the 404 Error by Re-saving Permalink Structure


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 :)

Use the buttons above to share. You only keep what you share :)

Read more:
Easily Find Posts with Broken Shrinked URLs A few days ago I was told that one of...
Using 404 Error Page for SEO Benefits This article will show you a part of your blog...
Resolving The Feed Too Large Error Just now I reviewed my web crawl errors using Google...
Handling Not Found Links Just a quick tips I got from the webmasters Q&A...


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.



<<         >>