WordPress.org

Support

Support » Plugins and Hacks » W3 Total Cache » address bar shows URL of cached file – is this expected behaviour?

address bar shows URL of cached file – is this expected behaviour?

  • 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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same here. This happens to me because of the mod_rewrite rule that adds the www. to the url or something.

    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.

    Plugin Author Frederick Townes

    @fredericktownes

    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).

    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.

    Plugin Author Frederick Townes

    @fredericktownes

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘address bar shows URL of cached file – is this expected behaviour?’ is closed to new replies.
Skip to toolbar