Drupal: How to enable clean urls with xampp and wamp

If you’re not using a Mac or linux and you’ve just installed a fresh copy of drupal on your machine then your probably wanting to know how can you enable clean urls on your localhost. I have spent hours in the pass trying to figure out how this can be done using a localhost so I am hoping this works for you and saves you a ton of time.

Enabling clean urls

Step 1

Located your httpd.conf file then open it with your text editor.

Step 2

Look for the following line in your httpd.conf file

Step 3

Now remove the hash symbol from that line. Then save it and restart your server.



Still not working? If you have followed the above steps and things are still not working add this to the bottom of your httpd.conf file. Change to www directory or htdocs.

Joe Granados the author

Joe Granados is the owner of WebDevTuts. He is also a web designer & developer who loves to design and develop websites. If you're looking for him you can find him via @webdevtuts

Leave a Reply