View Full Version : please solve my question

Vishal Shah
18 Jan 2013, 02:45 AM
When I checked today my Google webmaster thane I realize that I am having two same urls which have same
content. .. so what is the best way to solve it.. I know these are options

1) should I have to put one url in robots.txt so google never be crawled?

2) should I have to redirect one url to another one?

I know this is the very basic question but every web masters having confuse what they have to do when facing this kind of problem

So need proper solution for this..

Thanks in advance

18 Jan 2013, 04:04 AM
It all depends on how you think about those pages. Do you want to show only one page to Google but all two to visitors who directly visit your website? If yes then forbid one page in Robots.txt. For any other purpose you should choose redirection.

31 Jan 2013, 01:27 AM
URL Canonicalization is the right choice for you. Find the best url you want to index by google among those two.

If you want http://www. example. com/samplepage1 to be the canonical URL for your listing, you can indicate this to search engines by adding a <link> element with the attribute rel="canonical" to the <head> section of the non-canonical pages.