• Resolved Randy Reddick

    (@rreddick)


    I’m having issues with with several sites on one server, and I suspect .htaccess and perhaps .user.ini issues. I have the backups that Wordfence asked me to create during an upgrade last September, and my question has to do with the use / placement of these backups — especially given that I have multiple WP occurrences within one public_html folder:

    1. on restoration, does saved the .htaccess backup file belong only in the folder of the site in question? Or does it go in the public_html folder where theoretically it would impact all WP sites (and other non-WP documents)
    2. same question about the .user.ini file

    Thanks for any and all insight.

    • This topic was modified 9 years, 5 months ago by Randy Reddick.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    Wordfence adds code snippets into “.htaccess” and “.user.ini” files during the firewall setup, so if you were configuring the firewall in any of these sub-directories websites, then “.htaccess” and “.user.ini” – which the plugin asked to save as a backup – are for this sub-directory website not the public_html one, as each sub-directory website will have its own code (due to different paths).

    You can easily double check that by editing any of these backup files as you will see the path to “wordfence-waf.php” file there.

    Thanks.

    Thread Starter Randy Reddick

    (@rreddick)

    Excellent. Thanks for clarification.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘user.ini and htaccess_backup’ is closed to new replies.