Mobile app version of vmapp.org
Login or Join
Sent6035632

: How can I prevent the Googlebot from indexing duplicate URLs? I have duplicate URLs for each ad page. For example: https://example.com/ads/2161/%D9%84%D9%83%D8%B2%D8%B3_GS350.html https://example.com/2161/

@Sent6035632

Posted in: #DuplicateContent #Googlebot #Seo #Url

I have duplicate URLs for each ad page. For example:
example.com/ads/2161/%D9%84%D9%83%D8%B2%D8%B3_GS350.html example.com/2161/
I used the second URL for Twitter and Instagram posts.

So I see a message in Google Webmaster Tools that there are duplicate title tags and content.

How can I fix this issue, I want the Googlebot to index only the first URL, not the second URL.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

Hi Just set canonical URL and it should fix it.

Example:

URL 1: www.example.com/product/first.html
URL 2: www.example.com/first.html
Let's say if you want google to crawl only URL 2 then in the first URL set URL 2 as canonical URL.

Code to go in the head section of URL 1:

<link rel=”canonical” href=”http://www.example.com/first.html” />

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme