Compatibility with Polylang wrt to ‘related’ URLs (feed, authors list, etc)?
-
Hey,
seems like varnish-http-purge does not support Polylang. At least the to-be-purged URLs are not the ones that Polylang generates (it uses prefixes for languages like /en/feed/ instead of /feed/; or /de/comments/feed instead of /comments/feed, same for the author’s URL).
It works for the actual URL. That is, if I edit /de/mypage/ then /de/mypage/ will be correct in the to-be-purged URLs. But all “related” URLs are not included (link to author’s list, RSS, RDF feeds and so on — these all miss the /de/ or /en/ language prefix).
I am not sure how the list of to-be-purged URLs is generated.
Probably some code as described at https://polylang.pro/doc/function-reference/ would need to be used instead.
- The topic ‘Compatibility with Polylang wrt to ‘related’ URLs (feed, authors list, etc)?’ is closed to new replies.