Apps/Tools Blog

Friendly URLs in XAMPP

Update: this post is pretty old. I recommend you give Local a try.

A very common requirement for today’s apps is having “friendly” or clean URLs. We can achieve that easily in XAMPP, following these steps:

First, enable Apache’s mod_rewrite module:

Edit httpd.conf file under [xampp-install-directory]/apache/conf. On Windows, that’s typically C:\xampp.

#LoadModule rewrite_module modules/

So it stays:
LoadModule rewrite_module modules/

Lastly, search for AllowOverride None and replace with AllowOverride All.

In order for the changes to take effect, we need to restart the server.


3 replies on “Friendly URLs in XAMPP”

Leave a Reply

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