To Enable .htaccess in WAMP Server use the following steps STEP 1: click on Wampserver and select apache->httpd.conf STEP 2: Find and replace the following text Find #LoadModule rewrite_module modules/mod_rewrite.so Replace LoadModule rewrite_module modules/mod_rewrite.so STEP 3: Restart Wamp Server Now .htaccess will work successfully