Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tbom on
Hi,
When I upgrade Drupal, even the minor versions, the .htaccess file gets scrapped and a new one is created...
have you ever heard of this type of issue?
Thank you
Comments
This is normal. There has
This is normal. There has been some discussion of it in connection with drush and there is a sandbox module to generate a .htaccess from the gui.
One workaround is to put your redirects etc in your Apache or Varnish or whatever server config file. Other than that you just have to remember to back up your .htaccess and put it back after updates.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors