To create a sitemap for your Blogger blog, you need to follow these steps:Sign in to your Blogger account and go to the Blogger Dashboard.
- Select the blog for which you want to create the sitemap.
- Click on the "Settings" option in the left sidebar.
- In the "Settings" page, click on "Search preferences."
- Under the "Crawlers and indexing" section, you'll find an option labeled "Custom robots.txt." Click on "Edit" next to it.
- In the "Custom robots.txt" window, you'll see a text box. If it's empty, you can directly add the following code:
User-agent: *
Disallow: /search
Allow: /
If there's already some content in the text box, make sure to append the code mentioned above on a new line.
- Click on the "Google Search Console" and click the "Sitemaps". This time, you need to locate the "Add a new sitemap" option.
- Under the "Sitemap" section, In the text field that appears, enter the following line:
atom.xml?redirect=false&start-index=1&max-results=500
This line specifies the URL structure for your sitemap. It will include up to 500 posts/pages in your sitemap. If you have more than 500 posts/pages, you can increment the "start-index" value and add another sitemap entry with the same URL structure but a different "start-index" value.
- Click on the "Save changes" button.
That's it! You have now created a sitemap for your Blogger blog. The sitemap will be automatically generated and updated by Blogger, and it will help search engines crawl and index your blog more effectively.
