• Resolved gpapin

    (@gpapin)


    When I try to activate Falcon, I get a truncated .htaccess without any errors in logs

    Here is a copy to my .htaccess after activating Falcon

    #WFIPBLOCKS - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
    Order Deny,Allow
    #Do not remove this line. Disable Web Caching in Wordfence to remove this data - WFIPBLOCKS
    #WFCACHECODE - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
    <IfModule mod_deflate.c>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javasc

    The file is clearly missing a lot of informations, and beside, as it remove the mod-rewrite, all the url on my site are broken …

    I don’t have any explication to this behavior, I tried severals times and the file looks always the same…
    I guess I will wait for this feature to be really ready to use it on my site.

    Cheers

    https://wordpress.org/plugins/wordfence/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Same problem here. I paid for the premium version, am trying to get support via a ticket, we’ll see how it goes.

    Thanks for hint that perhaps the problem is Falcon. Thing is, I need Falcon or Wordfence isn’t worth it. This is an expensive plugin, I’m not going to disable all the features to get it working!

    After my site was broken, I had to restore .htaccess from backup and disable Wordfence.

    Cheers

    For what it’s worth, I disabled any suspicious plugins (caching, minify, etc) before my install, but did not disable all of them. I did not test without Falcon. I’ll have to do that during a low traffic period. Cheers.

    Thread Starter gpapin

    (@gpapin)

    Just for the record,

    I am using the free version, and I installed it on a fresh WordPress install (v3.9)

    The only plugins I have are Akismet, and Crayon Syntax Highlighter
    If you have more informations with your support ticket, please share it with us here 😉

    Cheers

    Thread Starter gpapin

    (@gpapin)

    It seems like the version 5.0.6 solved the issue

    Glad that’s the case for some folks, always nice to resolve issues and use what appears to be a very effective plugin. Me, however, just had this problem yesterday and with ver 5.0.6. Am still waiting for tech support to answer ticket.

    Plugin Author Wordfence Security

    (@mmaunder)

    Hi Guys,

    mountainguy2 I’ll get to your priority support ticket asap. Sorry about the delay.

    This issue was solved in Wordfence 5.0.6:

    http://wordpress.org/plugins/wordfence/changelog/

    Fix: Fixed issue that corrupted .htaccess because stat cache would store file size and cause filesize() to report incorrect size when reading/writing .htaccess.

    Please upgrade, start with a fresh .htaccess that is working, then enable Falcon.

    Regards,

    Mark.

    Hi Mark, I’ll switch over to support ticket for communication with you.

    [Moderator Note: No bumping, thank you.]

    I just had this happen for the second time. My .htaccess was truncated in the middle of the last Rewrite Rule, and the error logs were giving a repeated error “Invalid command ‘Rew’, perhaps misspelled or defined by a module not included in the server configuration”. I concluded that it must be Wordfence as I haven’t seen any other plugin writing to .htaccess.

    It happened 2 or 3 weeks ago as well, to a different site. I keep my plugins up to date.

    @holmpage

    We’re sorry you are having issues. Can you open a new post with your information so it doesn’t get over looked in this one, marked resolved for the original poster? Feel free to reference this ticket by including the URL and include your information and details.

    Thanks!

    Tim

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Falcon truncate .htaccess file right after activation’ is closed to new replies.