Check out the Latest Articles:

So you want to run your local copy of wordpress with those pretty permalinks. But each time you change to pretty URls or permalinks you get a 404 file not found error. This is because you dont have mod rewrite enabled on your local web server. Mod Rewrite can be enabled in the httpd.conf file of Apache. This can be done with 2 ways, one easier and one harder. The harder one is to simple edit the httpd.conf file. We will see the easier way out. Just some mouse clicks will do the job if you have WAMP Server running on your computer.

First click on the little WAMPSERVER icon on the bottom right, and hover your cursor over Apache.

wamp-apache-1

Now hover the mouse over Apache Modules, search for the rewrite_module and click on it. make sure it should be checked like in the picture. If it is already checked then the module is already activated.

wamp-apache-2

That's done now the module is activated. Hold on its not finished yet. You need to restart Apache like shown below.

wamp-apache-3

And now your wordpress permalinks should work without any problem.

Related posts:

  1. How to Install a Local Web Server on Windows XP
  2. URL Rewriting – How to create Pretty URLs using htaccess
  3. How to Upgrade to WordPress 2.6.5 Easily
  4. How to Backup and Synchronize your WordPress Blog
  5. Its time to Upgrade your WordPress Again – How to Upgrade from WordPress 2.6.2 to WordPress 2.6.3


  1. Andrew C.B. on Tuesday 16, 2009

    Hi,

    I have followed all the steps above, meaning: Click WAMP | Apache | Apache Modules | Rewrite_Module

    I also have click: WAMP | Apache |Service | Restart Service.

    But unfortunately, it didnt solve my problem, the 404 error message still exist.

    Any suggestion? What is my mistake?

  2. Atif on Tuesday 16, 2009

    did you update the permalink structure and the .htaccess file ?