Skip to main content

Provide A Sitemap, To Enable Indexing Of Pages

With (static) pages becoming a popular component in our blogs, we are seeing a few queries about getting pages content indexed.

We see an occasional query, in Blogger Help Forum: Learn More About Blogger, which leads to using the new pages sitemap.
How do I get pages indexed?
Aside from the design issue, where not all blog owners should want pages indexed, there should not be an issue here.

Blogger provides two automatically generated sitemaps, for each blog. This blog has

Most blogs use the posts sitemap - and ignore the pages sitemap.

If you look at the "robots.txt" file for this blog, you see the first sitemap in use. The file for your blog, if standard, should be similar.

User-agent: Mediapartners-Google

User-agent: *
Disallow: /search
Allow: /


Note the presence of "sitemap.xml" - and the absence of "sitemap-pages.xml". This blog has no indexable content, in the static pages.

If I wanted to index my static pages- and there are significant differences between pages and posts, that generally makes indexed static pages not so useful - I could add "sitemap-pages.xml", to complement "sitemap.xml".

For details on adding "sitemap-pages.xml", to your "robots.txt" file, see here.

User-agent: Mediapartners-Google

User-agent: *
Disallow: /search
Allow: /


Static pages are not indexed, deliberately - but random indexing will take place.

Static pages are not indexed, deliberately - though there can be some random links that lead to indexing. With blogs, search engines index dynamic content - aka posts, deliberately.

If you publish a website as a Blogger blog, you may want the website indexed - and that is why you might use the pages sitemap. Be aware of possible confusion, from a blog built with static pages.

This blog has no indexable static content.

Besides having no indexable static content, this blog has some non indexable static content. I wrote one article, which is carefully mirrored between a page ("static page") and a complementary post ("dynamic page") - which discusses the differences between pages and posts.

Were both the dynamic and static pages of that specific article to be indexed, in this blog, the search engines might levy a duplicated content penalty. Your blog may differ - and that is why Blogger provides "sitemap-pages.xml", and the option to index static pages.

It's your blog - and your choice to make.

Most blog owners will publish posts (dynamic pages) as blog content, and use static pages sparingly, as static (non indexed) accessories. Blogger, as a default, leaves "sitemap-pages.xml" out of "robots.txt" - but you can add pages, as indexed content, if you wish.


Robert Schott said…
I am using blogger with a custom domain name. I have created several 'pages' and have them linked with the menu bar at the top of the blog. Are you saying that those pages are not looked at by search engines unless I add a pages sitemap to robots.tx.
Nitecruzr said…
Hi Robert,

Thanks for the question.

Any "page" - whether dynamic or static - can be linked, and any linked page can be randomly indexed when the blog is being indexed. So the term "not looked at" is rather extreme.

Deliberate indexing, using a sitemap, is the best way to ensure indexing of specific content. If you want your pages indexed, because the blog only contains pages, you have to add a pages sitemap.

If you want your pages indexed, and the blogs contains posts, and possible links to the pages, the pages may be indexed - but again, I'd add a pages sitemap to ensure indexing.

If you don't want the pages indexed, at all, I'd add "nofollow" to all pages links.

So, it's just up to you, what you want.
muffin2 said…
This has been very helpful. Thanks
When you say "Blogger provides two automatically generated sitemaps, for each blog. This blog has

My robots.txt shows only one and it's the sitemap-pages.xml I am particularly interested in soi that pages are ultimately searchable in my blog - currently they are not.

So how do I get sitemap-pages.xml into my robots.txt file?
Nitecruzr said…
Hi Muffin,

Thanks for the question.

You make a custom "robots.txt" file, using the the "Custom robots.txt" wizard on the dashboard Settings - "Search preferences" page.

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.