Electronza
  • Homepage
  • Privacy
    • Privacy Policy
  • Contact
Electronza
  • Homepage
  • Privacy
    • Privacy Policy
  • Contact
Electronza
You are at:Home»Blogger / Blogspot»Blogger: were are the sitemaps?
SEO

Blogger: were are the sitemaps?

0
By Electronza on January 14, 2023 Blogger / Blogspot

I don’t think I need to explain here how important it is for a blog to be indexed correctly by search engines.

One of the most important aspects here is to correctly indicate where are the sitemaps, as there can be several so that search engines can easily discover our content.

In the case of Blogger / BlogSpot, the sitemap for blog articles is sitemap.xml. For pages (static content) we have another sitemap called sitemap-pages.xml.

For blogs hosted on BlogSpot, with an address such as https://blogname.blogspot.com, the sitemaps will be located at:

https://blogname.blogspot.com/sitemap.xml
https://blogname.blogspot.com/sitemap-pages.xml

If your blog has a custom domain with the address https://www.customdomain.tld, the sitemaps can be found at:

https://www.customdomain.tld/sitemap.xml
https://www.customdomain.tld/sitemap-pages.xml

Using Atom.xml as sitemap

The old way to get a BlogSpot blog indexed by the search engines was to use the atom.xml feed as a sitemap. By default, this is limited to the last 25 articles, thus specific parameters need to be specified to include more posts. For blogs hosted on BlogSpot, with an address like https://blogname.blogspot.com, we have to use the following syntax for the sitemap:

https://blogname.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500

If we have more than 500 posts, we will add another sitemap:

https://blogname.blogspot.com/atom.xml?redirect=false&start-index=501&max-results=500

Similarly, if there are more than 1000 posts we will add yet another sitemap

https://blogname.blogspot.com/atom.xml?redirect=false&start-index=1001&max-results=500

And so on…

If the blog uses a custom domain, the above sitemaps become:

https://www.customdomain.tld/atom.xml?redirect=false&start-index=1&max-results=500
https://www.customdomain.tld/atom.xml?redirect=false&start-index=501&max-results=500
https://www.customdomain.tld/atom.xml?redirect=false&start-index=1001&max-results=500
…

Note that the Atom.xml feed can be used only to index blog posts. For static pages, one has to use sitemap-pages.xml.

Adding the sitemaps to robots.txt

In Google Search Console and Bing Webmaster tools, we can manually add our sitemaps. However, we may want other search engines to discover the sitemaps too. In this case, it is important to add them to the robots.txt file.

A typical robots.txt file for a BlogSpot hosted blog is:

User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: https://yourbloggername.tld/sitemap.xml

To add the missing sitemaps we have to go to blogger settings, then enable custom robots.txt. Add the sitemaps to the robots.txt as in the following example:

User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap: https://yourbloggername.tld/sitemap.xml
Sitemap: https://yourbloggername.tld/sitemap-pages.xml 
Sitemap: https://yourbloggername.tld/atom.xml?redirect=false&start-index=1&max-results=500 
Sitemap: https://yourbloggername.tld/atom.xml?redirect=false&start-index=501&max-results=500
Sitemap: https://yourbloggername.tld/atom.xml?redirect=false&start-index=1001&max-results=500
blogging sitemap
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

A pretty text box for Blogger posts

Cleaning unused images from blogs hosted on Blogger

A gradient divider with CSS

Leave A Reply Cancel Reply

Latest posts
January 15, 2023

A pretty text box for Blogger posts

January 15, 2023

New blog section: beginners’ corner

January 15, 2023

Cleaning unused images from blogs hosted on Blogger

Categories
  • Beginners' corner
  • Electronics projects
    • ESP8266
    • Arduino projects
    • IoT
    • 8-bit PIC projects
    • Raspberry PI
    • PIC32 projects
    • Robots
  • Arduino libraries
  • Reviews
    • Tools & equipment
    • Development boards
    • IoT
    • Industrial Arduino
  • Blogger / Blogspot
  • Tutorials
  • Casual stuff
Popular posts
Arduino Uno 4-20mA communication using 4-20mA R click and 4-20mA T click boards from MikroElektronika: MIKROE-1296, MIKROE-1387, Uno Click Shield
August 17, 2016

4-20mA current loop Arduino tutorial Part I: hardware

ESP8266 Thing Dev from Sparkfun
May 15, 2019

ESP8266 – running on battery power

ECG click on Arduino Uno
December 5, 2016

ECG click: Arduino IDE code examples

Working DMX project
July 2, 2015

Arduino DMX master using RS485 click board

Arduino: DMX master and slave
November 2, 2015

Arduino: DMX Master and Slave

Copyright © 2023 Teodor Costachioiu

Type above and press Enter to search. Press Esc to cancel.