0

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 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.

2

Hi Just set canonical URL and it should fix it.

Example:

URL 1: http://www.example.com/product/first.html

URL 2: http://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” />
|improve this answer|||||
  • so if i want this url will be "example.com/ads/2161/%D9%84%D9%83%D8%B2%D8%B3_GS350.html" rel="canonical" , the other url will not crawl by google ! even it is on twitter . – Esmail Yahya Gathuth May 18 '17 at 22:15
  • @Esmail Yes. That's right. – TopQnA May 18 '17 at 23:52
  • i did that , but i tested it on google it is crawl the other link and not crawl what i want – Esmail Yahya Gathuth Jun 9 '17 at 1:12
  • If you setup canonical correctly and if you leave the setup for some time you should see the change. Also, you may like to share some URLs on social media like G+ and probably bot will come and visit the site again sooner and it should change the index. This is recommended approach and it should work. – TopQnA Jun 9 '17 at 1:45
  • i put rel="canonical" for url i want that google crawl it , unfortunately google crawl and index the other url , and i can't find the canonical on google search page !! – Esmail Yahya Gathuth Jun 9 '17 at 2:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.