• Resolved thatside13

    (@thatside13)


    Hello,

    I deleted wordfence plugin, but I noticed yesterday in the .htaccess file there is still code about user.ini and the module. Can I delete this? why wasn’t this deleted in the first place when I deactivated and deleted the plugin? Please let me know soon.

    Thank you.
    Sincerely,
    HP

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter thatside13

    (@thatside13)

    Here is the code:

    # Wordfence WAF
    <Files “.user.ini”>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>
    # END Wordfence WAF

    Hope to hear from you soon if this can be deleted with no problems. Thank you,
    HP

    Hey @thatside13,

    How did you remove Wordfence? If you’ve removed the user.ini file it’s just fine to remove this. The code in the htaccess file is meant to make sure that the usewr.ini file isn’t publically assessable.

    https://www.wordfence.com/help/advanced/remove-or-reset/#remove-or-reset

    Please let me know how it goes.

    Thanks,

    Gerroald

    Thread Starter thatside13

    (@thatside13)

    Hello,

    where is the user.ini file?

    I deactivated the plugin and removed it from my site.

    Thank you,
    HP

    Hey @thatside13,

    The user.ini file will be in your root directory if it’s still there. If it is, it’s safe to remove it as well.

    Thanks,

    Gerroald

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deleted wordfence plugin, but still code in htaccess file’ is closed to new replies.