- Using a text editor, open the httpd.conf file. In XAMPP, this file is found in the \apache\conf directory
- Locate the following line of code:
#LoadModule rewrite_module modules/mod_rewrite.so
- Remove the # from the line as seen below to enable the module:
LoadModule rewrite_module modules/mod_rewrite.so
- Save the httpd.conf file and Restart your server
- Restart your Apache Server
If all goes well, you should now be able to use .htaccess files.