rapila / plugin-sitemap

XML Sitemap for search engine and example code of how to configure a sitemap page with Rapila CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protocol-relative URLs not processed by Google

sabberworm opened this issue · comments

The XML Sitemap lacks the protocol. On Google "https:" is added automatically, which produces not found errors.

EXPECTED

<loc>//www.foundit.ch/de</loc>

ACTUAL

<loc>http://www.foundit.ch/de</loc>

Well, then Google does it wrong. If they access the Sitemap using http, then protocol-relative links (//) are specified to use that too.
Good catch, though.