Below are the instructions on how to enable .htaccess mod_rewrite in xampp.
-
Open and edit C:\xampp\apache\conf\httpd.conf in a text editor
-
Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
and (uncomment) change to
LoadModule rewrite_module modules/mod_rewrite.so
-
Find all occurrences of
AllowOverride None
and change to
AllowOverride All
-
Restart xampp
That’s it you should be good to go.
Help: http://www.leonardaustin.com/blog/technical/enable-mod_rewrite-in-xampp/