We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed in the varnishlog my blog (located at /blog) would appear as /blog/blog in the urls
I added this to the WPVarnishPurgeObject function to fix the issue above add after "$wpv_url = $wpv_blogaddr . $wpv_url;"
if (0 === strpos($wpv_url, $wpv_blogaddr . $wpv_blogaddr)) { $wpv_url = str_replace($wpv_blogaddr . $wpv_blogaddr, $wpv_blogaddr, $wpv_url); }
Also single posts wouldn't purge so I added
$this->WPVarnishPurgeObject($wpv_url);
before "// Add support for multipage content for posts and pages"
hope this helps someone (I'm running WP 4.1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed in the varnishlog my blog (located at /blog) would appear as /blog/blog in the urls
I added this to the WPVarnishPurgeObject function to fix the issue above
add after "$wpv_url = $wpv_blogaddr . $wpv_url;"
Also single posts wouldn't purge so I added
$this->WPVarnishPurgeObject($wpv_url);
before "// Add support for multipage content for posts and pages"
hope this helps someone (I'm running WP 4.1)
The text was updated successfully, but these errors were encountered: