5

I have multiple purchase pages with the same content like:

product1red.php
product2green.php

Should I block them with robots.txt ?

Stephen Ostermiller
  • 98,758
  • 18
  • 137
  • 361
user32057
  • 61
  • 2

1 Answers1

4

No need of blocking just need to use canonical URLs.

You can consider any of the one link as canonical parent (Means original). and other one as duplicate.

You can just point one URL as its original, SEO Crawlers will identify that.

Use something like:

<link href="http://sample.com/product1red.php" rel="canonical" />

For this page:

http://sample.com/product2green.php
Jobin
  • 694
  • 4
  • 9