Showing posts with label clean urls in drupal. Show all posts
Showing posts with label clean urls in drupal. Show all posts

Wednesday, April 16, 2014

60. What is clean URL in Drupal ?

A URL that does not contain code. By default, Drupal uses and generates URLs for your site’s pages that look like “http://www.example.com/?q=node/83.” By enabling clean URLs this will be rewritten to “http://www.example.com/node/83”.

Thursday, February 18, 2010

34. How to enable clean urls in drupal ?

The standard Drupal installation contains a sample .htaccess file which supports clean URLs. It is easy to miss copying this file, because of the leading "dot". So before trying to enable Clean URLs, make sure this file exists in your Drupal installation.

Drupal 6.x
In Drupal 6, the installer tests for compatibility with Clean URLs as a part of the installation process.
Drupal 5.x
Goto the administer >> site configuration >> clean urls section of the administrative interface.
Clean urls can be enabled by following the above two options in respective versions of drupal website.