Anvar Freelance Web Designer and SEO Expert Logo
01 / 01
WhatsApp Logo +91 808 999 0405

Enable htaccess in xampp

Enable htaccess ( mod_rewrite ) in xampp

For some reason my install of XAMPP didn’t have mod_rewrite automatically enabled? Not really sure why but basically below are the instructions on how to enable .htaccess mod_rewrite in xampp.
1. Go to the directory of installation C:\xampp\apache\conf
2. Open and edit httpd.conf in a text editor
3. Find the line which contains

#LoadModule rewrite_module modules/

and (uncomment) change to

LoadModule rewrite_module modules/

4. Find all occurrences of

AllowOverride None

and change to

AllowOverride All

I think it appears two or three times in the httpd.conf configuration file.
5. Restart xampp

by anvar
Published : Oct , 16

Post a comment

Your email address will not be published. Required fields are marked *