Mod Rewrite on a Windows Xampp Server

How To: Get Mod Rewrite working on Xampp

Want a workable test environment on your Xampp server to use mod rewritten urls for seo purposes? After doing some great research its easy as pie.

Step 1:

Open:

C:\xampp\apache\conf\httpd.conf

Step 2:

Find:

    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all

Change:

AllowOverride None

To:

AllowOverride All

Step 3:

Find:

#LoadModule rewrite_module modules/mod_rewrite.so

Remove:

#

Close File & Save

Last but not least close the file and save then go to and run:

C:\xampp\xampp_restart.exe

That way Xampp will restart apache and allow you to use mod rewrite, pretty simple and very easy to follow.

Leave a comment