Friendly URLs in XAMPP

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.



charly 20 May 2011 Reply

genial, hacia tiempo lo queria hacer, gracias por el aporte, funciona sin problemas!

nacho 23 May 2011 Reply

Me alegro que funcione, gracias a vos por probarlo!

Ignacio 13 January 2015 Reply

¡Siempre se puede revertir los pasos! Fijate si no tenes algún typo :)

Leave a Reply