Skip to content

Don't index page 1, page 2, ..., page n #970

Description

@ploeh

As a standard blog site, ploeh blog has a set of pages that a user may navigate using next and previous buttons. I don't think that the average user would use that feature much, but according to Google Analytics, Pages is ranked number 31 on the site.

The top page on the site (ranked 1) is, perhaps not surprising, the 'home page' at https://blog.ploeh.dk.

All that said, I sometimes need to find stuff on the site, and while I often search the source code (i.e. the HTML files), I also occasionally use a site-specific web search, and I've noticed that web search results often list, say page 18 or page 58, simply because the crawler found a particular keyword on that page at that time.

These pages are 'aggregation pages', and articles move around on these pages as they get pushed further into the past. Therefore these search results aren't useful.

What's the best way to tell search engines to not index these pages? robots.txt?

I'm not up to date with modern SEO techniques, so would appreciate input if robots.txt isn't the best option.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions