How to Enable Mod_Rewrite Module in Apache in XAMPP, WAMP?

by | Sep 24, 2018 | Technical

This is just a quick tutorial on how to enable how to mod_rewrite module in apache installed under windows environment.
1) Find the “httpsd.conf” file under the “conf” folder inside the Apache’s installation folder.
2) Find the following line “#LoadModule rewrite_module modules/mod_rewrite.so” in the “httpsd.conf” file.You can do this easily by searching the keyword “mod_rewrite” from find menu.
3) Remove the “#” at the starting of the line, “#” represents that line is commented.
4) Now restart the apache server.
5) You can see now “mod_rewrite” in the Loaded Module section while doing “phpinfo()”.

Related reading…