Anatta
Forum Replies Created
-
@david – Your post pointed me in the right direction. I too was getting the infuriating
It appears Minify URL rewriting is not working.
errors with 0.9.2.4 on a dev server.
Turned out that I was using a self-signed SSL certificate which was causing the function test_rewrite to fail on line 5924 of ./lib/W3/Plugin/TotalCacheAdmin.php because w3_http_get($url) returned a wp_error object:
object(WP_Error)#260 (2) { ["errors"]=> array(1) { ["http_request_failed"]=> array(1) { [0]=> string(146) "SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" } } ["error_data"]=> array(0) { } }
To fix either install a proper SSL cert or replace line 5294 with : $result = true;
It’s not really a bug in w3tc, but would be nice to be able to disable these tests if we find that they are giving false negatives like in this case.
Thanks Frederick for a great plugin. I know how much work is involved to maintain a plugin of this nature and truly appreciate your efforts.
Forum: Fixing WordPress
In reply to: Auto-apply password protection to child pages/categoriesAdd this to top of your theme header then if anyone visits a child page without having entered the parent password they are redirected to the parent page with the password prompt.
global $post; if ($post->post_parent && post_password_required($post->post_parent)) wp_redirect(get_permalink($post->post_parent));
Note that this won’t work with grandchildren pages, only direct children and their parents.
Forum: Plugins
In reply to: Remove base slug on Custom Post Type?It works for me on using Network 3.2.1. Does anyone know how to add a slug to pages to rule out any chance of conflicts?