yazeedaloyoun
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Currency CachingHi @vmarko,
Also tried to get it to work with Basic page cache, but it didn’t work. So, I was wondering if there has been any update on this or if there’s a planned release to resolve it more natively.
Also, was wondering if there’s any chance the plugin could shift the currency switcher auto-detect functionality to the client-side so that it works with Enhanced page cache?
Thanks,
Yazeed
I needed to do JCBAuza’s suggestion along with replacing the init function inside class-sitemaps.php in WordPress SEO plugin with the following code as per another thread:
function init() { global $wp_rewrite; $GLOBALS['wp']->add_query_var( 'sitemap' ); $GLOBALS['wp']->add_query_var( 'sitemap_n' ); $GLOBALS['wp']->add_query_var( 'xsl' ); $this->max_entries = ( isset( $this->options['entries-per-page'] ) && $this->options['entries-per-page'] != '' ) ? intval( $this->options['entries-per-page'] ) : 1000; add_rewrite_rule( 'sitemap_index\.xml$', 'index.php?sitemap=1', 'top' ); add_rewrite_rule( '([^/]+?)-sitemap([0-9]+)?\.xml$', 'index.php?sitemap=$matches[1]&sitemap_n=$matches[2]', 'top' ); add_rewrite_rule( '([a-z]+)?-?sitemap\.xsl$', 'index.php?xsl=$matches[1]', 'top' ); $wp_rewrite->flush_rules(); }JCBauza, you’re amazing, thanks for sharing that, it worked like a charm, Joost should read this fix, it’s still producible on the latest version of WordPress SEO.
Forum: Plugins
In reply to: [W3 Total Cache] JAVA executable (/usr/bin/java) is not a valid file.Found out I needed to set the paths twice, once for JS and another for CSS, my bad.
Forum: Plugins
In reply to: [W3 Total Cache] JAVA executable (/usr/bin/java) is not a valid file.Even stranger, when I run the test from w3tc cache for yui-compressor, it says OK with a green light, but still I can’t get rid of that error on top of the page.
This problem still exists. I had to resave settings.
Any solution from Yoast?