• Resolved Sriom

    (@sriom)


    I frequently move sites around using the Duplicator plugin, which recreates the .htaccess file whenever I install a site on a new server. The All in One plugin doesn’t seem to recognise that the .htaccess file has changed when I do this and reports that all my security changes are intact when they aren’t.

    It’s a simple matter to disable everything and start again, which fixes the .htaccess file, but if someone who encounters the same problem doesn’t know about this they might end up with an insecure site.

    https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi Sriom thank you for reporting this. Can you elaborate a bit more in regards to your comment….

    The All in One plugin doesn’t seem to recognise that the .htaccess file has changed when I do this and reports that all my security changes are intact when they aren’t.

    Regards

    Thread Starter Sriom

    (@sriom)

    When I duplicate a site via the Duplicator plugin the .htaccess file is reset to the basic requirements for WordPress. If I then look at the AIOWPS dashboard for new the site, it looks as though all my settings have been preserved, but the .htaccess file doesn’t contain any of the AIOWPS code.

    Plugin Contributor wpsolutions

    (@wpsolutions)

    One easy way to replenish the .htaccess file content after you duplicate a site’s settings is to deactivate the AIOWPS plugin and then re-activate it again.
    By doing this the plugin will then detect that you had some firewall rules active and it will ask you if you want to write to the .htaccess file just after plugin activation. You should click the “Yes” button.

    Thread Starter Sriom

    (@sriom)

    That’s a good solution, thanks. And thanks for a great plugin!

    Thread Starter Sriom

    (@sriom)

    Just tried the deactivation/activation solution and some settings are retained but most aren’t. A better way is to export/import the settings.

    Thread Starter Sriom

    (@sriom)

    I just noticed the ‘re-insert the security rules’ option on reactivation. My bad, sorry.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @sriom is your issue now resolved or do you need more help?

    Regards

    Thread Starter Sriom

    (@sriom)

    Hi

    The issue is resolved. Thanks for your help.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @sriom that is great news ??

    Can you mark this support thread as resolved.

    Thank you

    Thread Starter Sriom

    (@sriom)

    Done.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Double check .htaccess file?’ is closed to new replies.