Home
/
Other Applications
/
I am receiving 404 error message after I have enabled my Drupal clean/SEF/Short URLs

I am receiving 404 error message after I have enabled my Drupal clean/SEF/Short URLs

This issue usually happens after enabling the “Clean URLs” option in Drupal.

To resolve it, make sure you have a .htaccess file in your Drupal root directory containing these lines:

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

More information on how to configure SEF URLs for Drupal is available in our tutorial.

Share This Article