WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Page Cache URL rewriting is not working (3 posts)

  1. Ruriko
    Member
    Posted 2 years ago #

    Hi I have nginx as my webserver and when I enable page cache using disk:enhanced I get this error:
    It appears Page Cache URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.

    Anyone know how to fix this?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. nytrm
    Member
    Posted 1 year ago #

    I am having the same issue, i found out it tries to get the url http://www.example.com/w3tc_rewrite_test and if it cannot find it it shows the error.

    Manually i can load it and it is OK but somehow i keep getting this error message while URL rewriting is Enabled including all other modules.

  3. nytrm
    Member
    Posted 1 year ago #

    After some debugging i found out my Maintenance Mode plugin was causing the enhanced pagecaching to fail while having it in maintenance mode.

    The reason for this w3tc does a server side page request ( not logged in ) to the http://www.example.com/w3tc_rewrite_test address, when not logged in on my page they get redirected to a maintenance page so the response will never be the exspected OK and fails.

    Hope this helps for anyone with a maintenance plugin installed :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.