• Resolved datacate

    (@datacate)


    Wordfence 5.3.6 – select falcon engine caching and click save changes. Get a popup telling me to grab a copy of my .htaccess file; do it and then click button to enable Falcon. Get a confirmation that it’s been done and another button to click to refresh the page. After refresh, cache page still shows basic caching selected. Confirmed that changes have been made to .htaccess, but falcon logo is not appearing on wordfence admin pages, and visiting the cache setting pages again still shows basic caching. Advice, please. Current .htaccess below:

    #WFIPBLOCKS – Do not remove this line. Disable Web Caching in Wordfence to remove this data.
    Order Deny,Allow
    Deny from 159.224.160.42
    #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/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    <IfModule mod_mime.c>
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    <IfModule mod_mime.c>
    AddType text/html .html_gzip
    AddEncoding gzip .html_gzip
    AddType text/xml .xml_gzip
    AddEncoding gzip .xml_gzip
    </IfModule>
    <IfModule mod_setenvif.c>
    SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
    SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
    </IfModule>
    <IfModule mod_headers.c>
    Header set Vary “Accept-Encoding, Cookie”
    </IfModule>
    <IfModule mod_rewrite.c>
    #Prevents garbled chars in cached files if there is no default charset.
    AddDefaultCharset utf-8

    #Cache rules:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} on
    RewriteRule .* – [E=WRDFNC_HTTPS:_https]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* – [E=WRDFNC_ENC:_gzip]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{HTTPS} off
    RewriteCond %{QUERY_STRING} ^(?:\d+=\d+)?$
    RewriteCond %{REQUEST_URI} (?:\/|\.html)$ [NC]

    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|wf_logout|wordpress_logged_in|wptouch_switch_toggle|wpmp_switcher) [NC]

    RewriteCond %{REQUEST_URI} \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$
    RewriteCond “%{DOCUMENT_ROOT}/wp-content/wfcache/%{HTTP_HOST}_%1/%2~%3~%4~%5~%6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}” -f
    RewriteRule \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$ “/wp-content/wfcache/%{HTTP_HOST}_$1/$2~$3~$4~$5~$6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}” [L]
    </IfModule>
    #Do not remove this line. Disable Web caching in Wordfence to remove this data – WFCACHECODE
    RedirectPermanent /disclaimer/ /terms-of-use/

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    https://www.ads-software.com/plugins/wordfence/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m checking on this for you.

    -Brian

    Thread Starter datacate

    (@datacate)

    Hello Brian –

    Logged into the admin this morning and the issue has resolved itself some how – performance page shows the falcon cache setting as selected and the falcon logo appears on all pages. Site is also noticeably quite faster. Don’t know why I had to log out then back in to see the change but I will mark this resolved.

    Plugin Author Wordfence Security

    (@mmaunder)

    Glad to hear it’s resolved. If you encounter this in future please try checking the box to “disable config caching” on the Wordfence options page, hit save, then try to enable Falcon or make whatever other config changes you need to make.

    Regards,

    Mark.

    I faced same problem, and after this it was resolved.

    Do I need to uncheck this box again???

    Please guide.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Falcon Engine caching setting will not stick’ is closed to new replies.