Quantcast
Channel: Anthoniraj's Blog » Administration
Viewing all articles
Browse latest Browse all 10

How to Enable “Clean URL” in Drupal ?

$
0
0

Clean url is user friendly address for any post, node or forms of the Drupal, developer can easily understand the content of the post using the clean url. Search Engine like Google and Yahoo also optimize it easily . To enable clean URL in drupal,  goto  “Site Configuartion -> clean URL” option in administration menu. If you are getting any error message like

“Your system does not support clean url “

Then , you can create one .htacess file manually in your Drupal root folder (Eg: /projects).  Simply Copy the following content and create one .htaccess , uplaod it in your drupal site home directory. [Note : your hosting service provider should support .htaccess , contact technical team of hosting provider for uploading problem]

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Now you can enable clean URL in your Drupal site.


Viewing all articles
Browse latest Browse all 10

Trending Articles