How do I enable Clean urls within a migrated site? 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.
Did you read this:

  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  # RewriteBase /drupal
  #
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  # RewriteBase /


Actually, you should use the original D8 .htaccess cause there are some special rewrites for core and autoloader (and more).