• Resolved bhobbit

    (@bhobbit)


    Hi Bob and Corie,

    I like this plugin very much, thank you πŸ™‚

    I have noticed last time I used it, that .htaccess file was changed. I have understood the reason which was to change URL rewriting. That’s OK. But … Instead of changing WordPress rewriting rules only, all other specific rules (not WP rules) are erased.

    This is very problematic because .htaccess may (should) be used for security purpose like protecting some system files (.htaccess, wp-config.php, …) and preventing folders to be browsed.

    Can you change this behavior in a very future release so that all specific (Not WP) rules will be kept.

    Thank you for your support.

    https://wordpress.org/plugins/duplicator/

Viewing 1 replies (of 1 total)
  • Hey Bhobbit,

    Right now the plugin will create a copy of the .htaccess to .htaccess.bak inside the root so you can simply reuse this file if you want. The reason why we can’t use the original .htaccess file is because in has too many possible configuration scenarios. The .htaccess is customized to the specific server its on. Trying to parse and update an infinite about of possible configuration options is really not possible.

    The easiest approach is to just remove the new .htaccess and rename the .htaccess.bak file to .htaccess, or simply go into your security plugins and re-save the settings which will re-write the .htaccess settings.

    I agree it would be nice to have the original one, but we had way to many issues when the plugin was first released and have found this to be the happy medium between usability and reliability.

    Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘htaccess file rules changed/erased by Duplicator’ is closed to new replies.