Mobile app version of vmapp.org
Login or Join
Holmes151

: Query String Pages - Do You Block Them via Robots.txt? Or Canonicals, `rel="prev"/rel="next"` do the Job can someone please give me an advice on how to deal with query string pages like /index?page=323,

@Holmes151

Posted in: #DuplicateContent #Pagination #RobotsTxt #Seo

can someone please give me an advice on how to deal with query string pages like /index?page=323, ?min=0&max=217, ?dir=asc&order=name, ?mode=listand more like these.

2 known solutions for query string/database generated pages are canonical and rel="prev"/rel="next", (if there are more, please share) I have em both. Is that enough? Is there a need of blocking common query string pages via robots? Or you don't do that in SEO?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Holmes151

1 Comments

Sorted by latest first Latest Oldest Best

 

@Rambettina238

If you have pages with query parameters that you do not want indexing, using the canonical tag should help indicate that only the primary version of this page should be indexed. The following tag should be place din the head of the page and should not contain the query parameters that you do not wish to be indexed:

<link rel="canonical" href="http://example.com/blog" />


Typically with pagination it would be good to implement the canonical tag and the rel tags as this will give more context to Google that the content across these pages is linked.

Using the canonical instead of blocking through the robots.txt would be preferable as it allows Google to see the content but also states that you would prefer this content not to be indexed.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme