Support Forums

Site has no canonical tags

Hi all,

I am working with a client which has a site on the Netlify platform (https://lineagejourney.com/) .

At present none of the pages have canonical tags coded in - is there a way to do this in a bulk manner rather than implementing on each individual page?

If possible it would be great to have a brief that I could pass on to a developer.



Hey there @smethersslug Welcome to Netlify Forums!

From what I know of canonical tags, they have different values relating to the current page. If in your use case, you will have the same tag on every page then you could use Netlify’s script injection to insert a tag into very pages <head>.

Here is the information you will need for that:

However if you require a different tag for each page, then I don’t think this can be achieved with Netlify.

Are you using a SSG (Static Site Generator)? What you are trying to do could be easily done with something like Eleventy or Jekyll.

Hope any of this helps :grinning: