Enabling clean URLs (Drupal 7)

Rohi picture Rohi · Jul 2, 2013 · Viewed 11.9k times · Source

I just installed and started using Drupal 7, and I followed the instructions to turn on Clean Urls. I clicked "Run the Clean URL test" button, but it failed to return any results. It loads up something and then refreshes the page. There is no option to enable clean url as said in the instructions. Can somebody help ?

Answer

abhilashv picture abhilashv · Jul 2, 2013

Open your .htaccess file in your project root. Uncomment RewriteBase /drupal and change it to your project name like RewriteBase /myprojectname . Comment RewriteBase / Goto /admin/config/search/clean-urls There will be an option to Enable clean URLs .