Cache-bust Issue
-
Hi there!
This plugin works great. Just one small request:
Some crawlers of ads.txt will cache-bust to ensure the latest file is requested (e.g. https://example.com/ads.txt?t=2832438293029). However, your plugin always returns a 404 when any query string is added.
Perhaps the following change in ads-txt.php would fix things:
from:
$request = esc_url_raw( $_SERVER['REQUEST_URI'] );
to:
$request = esc_url_raw(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
Thanks!
-EmbedPlus Team
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cache-bust Issue’ is closed to new replies.