[Solved] Error enabling clean-urls in drupal

Well, I was working in a drupal project. I have a hosting account and number of add-on domains. My current project is hosted on one of the add-ons domains. But I have this problem implementing clean urls, which are supposed to look tidy. I checked the .htaccess file, and everything seemed alright. RewriteEngine as on.

Later I found out that since drupal was hosted on a add-on domain, I needed to uncomment

# RewriteBase /

And voila, it worked :)

Leave a Reply