How to Activate Mod Rewrite on WAMP Server

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 Backup and Synchronize your WordPress Blog
  4. How to Upgrade to WordPress 2.6.5 Easily
  5. Its time to Upgrade your WordPress Again – How to Upgrade from WordPress 2.6.2 to WordPress 2.6.3


The author is a small business owner himself specialising in Web Development. He runs Insight Studios which offers specialized Web Development, SEO Services and PPC Management for Small Business and SME thus ensuring growth and prosperity using the power of social media.

Share This Post

Related Articles

6 Responses to “How to Activate Mod Rewrite on WAMP Server”

  1. Andrew C.B. says:

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

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

  3. Remya says:

    hai,

    I try this.. its working for wordpress..

    But in case of normal php folder its not working..

    that is to convert about.php to about . it shows error

    any help?

  4. Remya says:

    sorry its working …
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.php -f
    RewriteRule ^(.*)$ $1.php

    in .htaceess file

  5. sanjeev says:

    Hi thanks its working fine…….

  6. Jeff says:

    thanks very much spent hours trying to figure this out.

Leave a Reply

© 2012 MyGeekPal. All rights reserved. Site Admin · Entries RSS · Comments RSS
Designed by Insight Studios