Forums

W3 Total Cache
address bar shows URL of cached file - is this expected behaviour? (6 posts)

  1. JohnP
    Member
    Posted 11 months ago #

    I'm new to w3 Total Cache (using v0.9.2.2) - so far I've only enabled Page caching via disk (enhanced).

    It is serving the cached pages nice and fast, but I see that the URLs displayed in the address bar change from:
    example.com/sample-post/
    to:
    example.com/wp-content/w3tc/pgcache/sample-post/_index.html.gzip

    Is this normal or have I missed a step?

  2. shortster
    Member
    Posted 11 months ago #

    Same here. This happens to me because of the mod_rewrite rule that adds the www. to the url or something.

  3. JohnP
    Member
    Posted 11 months ago #

    That's not the cause shortster, I don't use this.

    The address of the cached file shows with nothing in .htaccess except the standard WordPress permalinks re-write and the w3 Total Cache code.

    I don't want people linking to the cached file, or for Search Engines to index those links, so I've de-activated the plugin.

    I see people are having problems with many of the other caching methods used by w3 Total Cache as well, looks like it isn't compatible with the latest WP version.

  4. Frederick Townes
    Member
    Posted 10 months ago #

    That issue means that the order of directives is incorrect. W3TC rules need to be above the WP directives and below any custom rewrites you may have (which should be at the very top).

  5. JohnP
    Member
    Posted 10 months ago #

    Thanks for your response Frederick.

    FYI, the plugin wrote the additions to .htaccess during installation, so you might want to tell people to do it manually if they have other directives there.

    If there is anything in the instructions about this, I didn't find them.

  6. Frederick Townes
    Member
    Posted 8 months ago #

    Users have the option to auto-install or do it manually.

Reply

You must log in to post.

About this Plugin

About this Topic