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?
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.
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.
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).
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.
Users have the option to auto-install or do it manually.