• Resolved GaryTapp

    (@garytapp)


    Dear Supprt,

    Around a week ago I started getting 404 no page errors on every page except the home page. I figured out that my .htacess file was empty! Long story short I figured out that re-saving my permalinks solved the problem and my .htacess was containing code again and all was working fine … but every day or so my .htaccess goes empty again!

    So my question is (and Im asking this to a bunch of my plugin support pages), does Wordfence access/edit my .htaccess ? and if so could there have been a problem introduced around the 21st May 2023 ?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @garytapp, thanks for your follow-up on this.

    Wordfence new version releases took place on March 27 and again on May 31, so your date didn’t coincide with a plugin version update. Wordfence can add some lines to your .htaccess or .user.ini with your approval (and prompts to backup the file) when optimizing the firewall, but it shouldn’t be changing anything there outside of this.

    We have seen some hosts or platforms where this behavior has happened, so it could be worth reaching out to their support channels too. Even if they haven’t caused it, they might be able to see the process and/or the exact time the file was cleared.

    Let me know what you find out!
    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘Empty .htaccess file giving 404 errors’ is closed to new replies.