Local wordpress install only shows home page, all other pages Not Found

I am working on a local install of a live wordpress site, all links from the main page show Not Found errors. all .htaccess files are all present.

The problem is that every page except for the home page is showing a Not Found error, I can't find any problems with permissions or anything else that would cause it to not work.

Is there anything that I can try that I might be overlooking? I apologize for the vauge questions but I am having trouble figuring out where to start.


Log in to the admin panel (localhost/sitedirectory/wp-admin) and go to Settings->Permalinks and click Save Changes. Permalinks often need to be rebuilt after mirroring a site and updating the site url. You don't need to change any settings, just hit save and it will rebuild the permalinks with the selected options.

Also make sure the Apache module mod_rewrite is enabled on your local stack. IIRC WAMP (and possible XAMPP) do not enable this by default. Doing so in WAMP is as simple as clicking the WAMP icon in the taskbar, then going to Apache -> Apache Modules -> mod_rewrite (click to toggle) and then restart all services.

Also I am assuming you already updated the site and home urls (either in the wp_options database table or in wp-config.php). For reference there is a Codex page about this: Moving Wordpress


You can do it in a really simple way. Just go to

Settings >> Permalinks >> and click "save changes" without changing anything.

If it gives you .htaccess file permission issue, you need to set privilege of your ROOT folder (where your wp-content folder lies) to read and write.

And again go to

Settings >> Permalinks >> and click "save changes" without changing anything.

That's all. Hope it resolves the issue.


Please enable rewrite_module. To enable it on windows wamp follow these click on wamp -> Apache ->Apache Module -> check rewrite_module