: 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/
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.
More posts by @Sent6035632
1 Comments
Sorted by latest first Latest Oldest Best
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” />
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.