Mobile app version of vmapp.org
Login or Join
Murray432

: Implementing Canonical URLs I have a confusion in implementing canonical URLs; Client has shared a set of URLs like; http://example.com/eg/ http://example.com/eg/index?32312323 http://example.com/eg/index?54545545

@Murray432

Posted in: #CanonicalUrl #Seo #Url

I have a confusion in implementing canonical URLs;

Client has shared a set of URLs like;
example.com/eg/ http://example.com/eg/index?32312323 example.com/eg/index?54545545 http://example.com/eg/index?45554455


What I did to make them canonical I have added below tag on each of the above page header;

<link href="http://example.com/eg/" rel="canonical">


I have following questions:


Do implementation is right?
If yes; google will take care of rest like content duplication issue etc?
Any further improvement or any better alternative?


Please do let me know if I am not clear

Thanks

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

If the following URL's output exactly the same code:
example.com/eg/ http://example.com/eg/index?32312323 example.com/eg/index?54545545 http://example.com/eg/index?45554455


And of all the URLs, you want to see the following URL in search engines:
example.com/eg/

then edit your scripts so that this line:

<link href="http://example.com/eg/" rel="canonical">


is between <head> and </head> in the code produced from each of these URLs:
example.com/eg/index?32312323 http://example.com/eg/index?54545545 example.com/eg/index?45554455

By adding that tag, you declared the code in the above three URLs an exact copy of the code in this URL:
example.com/eg/

You don't need to declare canonical inside:
example.com/eg/

because you designated that URL as the original content URL.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme