Closed kees-closed closed 1 year ago
Sorry it's taken me so long to reply to this. Took me a while to work out what was going on. It's specific to your webserver, in that it's returning application/json; charset=utf-8
for the content-type when requesting: https://www.zeitgeistbeweging.nl/sitemap.json, where typically this is only application/json
. I've adapted the json check to accept strings that contain extra info.
classes/SEOGenerator.php
line: 37:
$content_type = $url_response->getHeaders()['content-type'][0] ?? null;
if (Utils::contains($content_type, 'application/json')) {
This will be in the next released.
Please describe your issue with as much detail as possible. Please include versions of the product. As well as Grav, admin plugin or any other plugins involved.
Also please provide detail steps to reproduce the issue or sample code that exhibits the issue. The easier you make it for us to reproduce the issue, the faster we can resolve the it.
My user config: