Error in Drupal while enabling clean URL

The default unclean URLs that Drupal provides with question marks lurking around, could be annoying. But it does offer an option to have clean URLs. We might encounter some errors like

“error that your system configuration does not support this.”

while enabling the clean URL option from the Drupal panel.

To avoid this add the following lines to your .htaccess file located in the folder where Drupal is installed.

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]

Related posts:

  1. Redirecting a domain to a subfolder using .htaccess.
  2. How to redirect non ssl (http links) traffic to SSL (https links)
  3. Enabling repositories at sources.list on a apt enabled lenny server
  4. How to create a local Ubuntu repository, update/upgrade distros ‘locally’ and thereby save bandwidth
  5. Source compilation of Apache

Comment Form

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later