Closed
Description
Hi,
my site does not use trailing slashes in the permalinks. In purger.php line 208 it hard codes a trailingslash to the url. So in my setup the cached pages are not purged. Full purge does not work either.
When you open the purge-url in browser with and without trailing slash, the key and path will be different.
(https://example.com/purge/page/ and https://example.com/purge/page)
When I remove trailingslashit() the pages were purged correctly.
function purgeUrl( $url, $feed = true ) {
global $rt_wp_nginx_helper;
$url = trailingslashit( $url );
$this->log( "- Purging URL | " . $url );
Metadata
Metadata
Assignees
Labels
No labels