Mobile app version of vmapp.org
Login or Join
Fox8124981

: How can I make the canonical tag different on every page when it is included in my common header section? I have a photo sharing site. I inserted the canonical tag on header ( i have common

@Fox8124981

Posted in: #RelCanonical #Seo

I have a photo sharing site. I inserted the canonical tag on header ( i have common header section for every page) of index page. but all pages show the same tag.

How can i implement canonical tag each page?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

Edit: if you want to use canonical on every page, you can do it with Google Tag Manager.


There is no point on using canonical tag among all the site. You should only use it on pages with duplicate content.

For example, if you have example.com and example.com/index.php you should add the following tag in the page header of index.php.

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


Searchers will discard example.com/index.php version. If you have example.com/products and example.com/poducts/sorted you should add at both pages:

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme