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?
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.
<link rel="canonical" href="http://example.com" />
<link rel="canonical" href="http://example.com/products" />