Add Strapi Sitemap to Google Search Console

When I try to upload my generated sitemap to google search console, because the domain URL is different than the sitemap URL it says “Please enter a valid path to a sitemap in your site” within Search Console.

Instead of my sitemap being “https://contenthub-backend.magiceden.io/sitemap/index.xml” it needs to be “https://contenthub.magiceden.io/sitemap/index.xml” - Can someone please help?

1 Like

I run into same issue any work around

Hello @Brenton_Thomas :wave:

I guess the only solution is to dynamically duplicate your sitemap from your back end to your front end. We generate the sitemap on the front end on strapi.io :slight_smile: