External WordPress editors like MarsEdit doesn’t show categories or tags
I just installed Varnish Cache on my website to speed up load time with great success. But after loading my favorite Mac blog editor MarsEdit, when doing a refresh, all the categories and tags disappeared! I realized that it must have something to do with Varnish blocking the requests between the external blog editor and WordPress, but I haven’t had time to really learn all the intricacies of vcl. As usual Google came to the rescue, and I found [this post in Swedish that solved the problem]). I’d thought I might regurgitate the solution here in English for other with the same problem.
Solution
Just add the following in /etc/varnish/default.vcl
in the sub vcl_recv
This lets all the access to xmlrpc.php pass through Varnish uncached.
[cc]
# Pass external editors like MarsEdit and iPad editors
if(req.url ~ “/xmlrpc.php”) {
return(pass);
}
[/cc]
Leave a Reply