Blogger creates a sitemap for your blog automatically, whether it's on yourblog.blogspot.com or a custom domain like www.yourblog.com. You just need to tell Google where it is. This guide shows how to submit a Blogger sitemap to Google Search Console (formerly Google Webmaster Tools) and Bing, and fixes the errors people most often hit.
atom.xml feeds with special parameters. Blogger now generates proper sitemap.xml files, so the process is much simpler.Your Blogger sitemap URLs
Replace www.example.com with your blog address (custom domain or blogspot.com):
| Sitemap | Contains |
|---|---|
https://www.example.com/sitemap.xml | All posts. Large blogs get a sitemap index that links to several pages of posts. |
https://www.example.com/sitemap-pages.xml | Static pages (About, Contact, Privacy Policy...). |
Open them in your browser. You should see XML listing your posts. If you see an error, check that your blog is public: Settings → Permissions → Reader access → Public, and Settings → Crawlers and indexing → Visible to search engines is on.
Step 1: Add your blog to Search Console
- Go to Google Search Console and click Add property.
- Custom domain: choose Domain and enter
example.com(withoutwww). Verify by adding the TXT record Google gives you at your domain registrar (Namecheap, GoDaddy, Cloudflare...). This covers bothwwwand the bare domain. - blogspot.com address: choose URL prefix and enter
https://yourblog.blogspot.com/. If you're signed in with the same Google account that owns the blog, it's often verified instantly. Otherwise use the HTML tag method below.
Verifying with the HTML tag on Blogger
Copy the meta tag Google shows, then in Blogger go to Theme → ▾ → Edit HTML and paste it right after <head>:
<head>
<meta name="google-site-verification" content="AbC123...your-code..." />
Click Save, then Verify in Search Console. Blogger templates are XML, so the tag must end with /> or Blogger will refuse to save.
Step 2: Submit the sitemap
- In Search Console, open Indexing → Sitemaps.
- Enter
sitemap.xmland click Submit. - Submit
sitemap-pages.xmlthe same way.
The status changes to Success within a few hours or days, with the number of discovered URLs.
Step 3: Use a custom robots.txt (optional)
Blogger's default robots.txt is fine for most blogs. If you want to add your sitemaps to it, go to Settings → Crawlers and indexing, turn on Enable custom robots.txt, and use:
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: https://www.example.com/sitemap.xml
Sitemap: https://www.example.com/sitemap-pages.xml
Mediapartners-Googleis the AdSense crawler. Leaving it unblocked lets AdSense show relevant ads.Disallow: /searchstops label and search-result pages from being indexed as thin duplicate pages.
Disallow: / under User-agent: *. When in doubt, turn custom robots.txt off.Step 4: Submit to Bing too
In Bing Webmaster Tools, choose Import from Google Search Console. Your verified blog and sitemaps are copied over, and Bing results also appear on Yahoo and DuckDuckGo.
Fixing common sitemap errors
| Error | Cause and fix |
|---|---|
| Couldn't fetch | Often just temporary right after submitting. Wait a day. If it persists, open the sitemap URL in a private window to confirm it loads. |
| Sitemap is HTML | You submitted a page (like /p/sitemap.html) instead of sitemap.xml. Submit the XML URL. |
| URL not allowed | The sitemap is on a different host than the property, e.g. blogspot.com sitemap in a custom-domain property. Use the sitemap on the same domain. |
| Blocked by robots.txt | Your custom robots.txt blocks the sitemap or posts. Fix or disable it. |
| Fewer pages indexed than submitted | Normal. Google doesn't index every page. Check Indexing → Pages for the reasons. |
Moving a blog to a custom domain?
When you switch from blogspot.com to your own domain in Settings → Custom domain, Blogger redirects old URLs to the new ones automatically. Add the new domain as a property in Search Console and submit its sitemap.xml. Keep the old blogspot.com property so you can watch traffic move over.
Got a different error message? Paste it in the comments and I'll help you fix it.
Woooow, what a nice work, it works alot 2 me and friends
ReplyDeleteThanks for trying :)
DeleteDoh! I աas domain shopping at namecheap.com and went to type in the domain name: https://www.blogger.com/comment.g?postID=8026600300365368194&blogID=7198190802321717073 and guess who alreаdy ɑcquired it?
ReplyDeleteYou dіd! lol j/k. I was about to buy this domain name but realized it was takеn so I thought I'd come check it ߋut.
Wonderful blog!
Take a look at my page :: Chevy Trucks
Hi there, its good article regarding media print, we all
ReplyDeleteunderstand media is a impressive source of data.
Here is my blog post :: small business seo
thanks bro. It helped me.!!
ReplyDeletewelcome bro, glad to help you.
DeleteThanks
ReplyDeletewelcome bro.
DeleteYour blog is great. It’s very interesting
ReplyDelete