Powered by Blogger.

CLEAN URLS/.HTACCESS – DRUPAL


Paste the following code in the .htaccess page
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA
</IfModule>
  • go to  admin page and enable Clean URLs

No comments