I am currently assisting a client with a Drupal 6 to 8 upgrade. After migrating a copy of the site into a development localhost environment. I noticed that I was not able to enable clean URLs. I have checked the .htaccess
and found the following:
RewriteEngine on
RewriteBase /clientname
RewriteBase /
#Redirect /clientname
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
I have have checked other forums, and according to them the issue should be fixed. However, I am dealing with this same issue.
Any new advice would be much appreciated.
RewriteBase
twice? You should decide to only one. Can you just use.htaccess
provided with D8? Can you make sure yourmod_rewrite
is enabled on your local?