Django Sitemap Generates https:// in loc TWICE in Development

The is returning loc with double https:// making the generated sitemap to be incorrect/unacceptable.

<urlset xmlns="" xmlns:xhtml="">

I've tried changing the protocol in the file from https to http but that only appends http:// in front of the

Any ideas?

My solution:

I went into the admin panel and renamed the site. This time without the protocol in front.

Back to Top