How to enable mod rewrite .htaccess on localhost with Wamp Server ?
by exzant • 29 Sep 2011 • Tutorial • 0 Comments
If you are using Wamp as web server on your local computer, by default rewrite condition for htaccess are disabled. So, if you place a htaccess file in your root folder, it will not work. It will show error 500 Internal Server Error.

To solve this problem, you should have to change Apache Configuration (httpd.conf).

Search “rewrite” then you will find a row with this code
#LoadModule rewrite_module modules/mod_rewrite.so

Remove the symbol “#” at the beginning of code. The meaning of symbol “#” is comment (pass the code for processed)

Save your file and restart All Services of Wamp


Try to access your page in your browser. Hope it works.