• Hi,

    I have an issue with W3 total cache that boils down to this error:

    W3 Total Cache error: It appears Page Cache URL rewriting is not working. Please verify that the server configuration allows .htaccess
    Unfortunately disk enhanced page caching will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.

    I have been looking for an answer for months now (“someone must have the same problem, right?”) but to no avail.

    Apparently, my sysmtem must have .htaccess file writing rights. so I searched for .htaccess files and found 8 in the following locations:

    ./public_html/cgi-bin/ (can change rights)
    ./public_html/wp-content/cache/page_enhanced/ (access denied)
    ./public_html/wp-content/cache/tmp/ (access denied)
    ./public_html/wp-content/cache/minify/ (access denied)
    ./public_html/wp-content/wordfence/tmp/ (access denied)
    ./public_html/wp-content/wordfence/lib/whois/ (access denied)
    ./public_html/wp-content/wordfence/lib/ (access denied)
    ./public_html/ (can change rights)

    Now I am not sure which files I have to give read/writing access (and why I am not allowed to do this for some files clearly used by W3 Total cache) since the plugin obviously needs it.

    I have tried re-arranging the order in which W3 total cache has written lines to the .htaccess file (./public_html/) but they are good as far as I can tell: first W3 total cache rules, then the WP rules.

    I am totally clueless since the sollutions posted all over the web are to chenge the order of code in the ‘main’ .htaccess file located in ./public_html/ which is already correct for me, and to change 2 other .htaccess files in locations I don’t even have.

    If anyone can shed some light on this I would be really greatful, since I am ready to give up on W3 Total Cache by now.

    Thanks.

    https://wordpress.org/plugins/w3-total-cache/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I only recently started to get this error too so I am interested in any solutions forthcoming 🙂

    Thread Starter Fritsje

    (@fritsje)

    This error is present since the day I installed W3 Total Cache, every few weeks I try to find a sollution but never succeeded. Let’s hope some angel from cache-heaven comes down to show us the light…

    bump, we are also having this issue. and our HTACCESS is working for sure (as we re-write http://honeytrek.com -> http://www.honeytrek.com so i know it is working.

    this is the error i am getting:

    W3 Total Cache error: It appears Page Cache URL rewriting is not working. Please verify that the server configuration allows .htaccess
    Unfortunately disk enhanced page caching will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.
    Technical info
    .htaccess file contains rules to rewrite url http://www.honeytrek.com/w3tc_rewrite_test into http://www.honeytrek.com/?w3tc_rewrite_test which, if handled by plugin, return “OK” message.
    The plugin made a request to http://www.honeytrek.com/w3tc_rewrite_test but received:
    Operation timed out after 5001 milliseconds with 0 bytes received
    instead of “OK” response.

    Same here… it started displaying suddenly on a Network installation… only for one of the site though, even if the .htaccess file is shared between all of them

    I have the W3 installed in 5 websites. In one of them, the site works fine from any browser, but when I’m trying to access it through a “page loading test” site (e.x. pingdom.com, websiteoptimization.com, uptimerobot.com) the site always reports Forbidden 403 error!

    When I change on “Page Cache Method” from “Disk: Enhanced” to “Disk: Basic” the 403 Error stopped showing up.

    Any idea to enable “Disk: Enhanced” and stop with the Forbidden 403 Error?

    Just an update to help someone having the same issue… I’ve fixed the problem following the steps below 🙂

    In public_html/wp-content/cache/page_enhanced/www.mysite.com there were 2 files, _index.html.old and _index.html_gzip.old. There was also a public_html/wp-content/cache/page_enhanced/www.mysite.com/.htaccess folder and inside it there were 2 files, _index.html and _index.html_gzip.

    So I renamed .htaccess folder to .htaccess_old and also the files inside to _index.html.old and _index.html_gzip.old.

    Then I renamed the _index.html.old and _index.html_gzip.old from inside public_html/wp-content/cache/page_enhanced/www.mysite.com to _index.html and _index.html_gzip.

    So the problem was fixed and I was able to enable page cache disk enhanced mode.

    Try to change .htaccess permissions to 644. hope it will help…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘"It appears Page Cache URL rewriting is not working" – drives me insane’ is closed to new replies.