So the error comes from the url. Which is strange because the previous URL, provided explicitely, doesn’t produce any error and both url are the same format. Nevertheless, I did try to remove https:// and www. from the url & it doesn’t solve my problem.
I tried looking up the error message on the Internet but didn’t find any solution, not even a proper explanation…
I really don’t know what to do & I have to admit I could do with some help…
Could you please share the definition of SitemapIndex?
Or even better, provide a full, but minified package that reproduces your problem.
But on a first glance, I’d assume that the parsed “location” is prefixed and suffixed by newlines or spaces or any other kind of whitespace, as there is whitespace in the XML which might get normalized into a single whitespace token during parsing the XML but wont be removed.
Also if you tried the code, could you tell me how it ran for you ? I ran it but had to wait about a minute to get the results. I don’t think it’s my internet connection because I have a good connection.
Yeah, it takes forever, I haven’t measured though. But since curling the initial site-map already takes a long time as well, I just assumed the server is slow.