Guest Posted March 6, 2020 Share Posted March 6, 2020 Site URL: https://www.bridgitsolutions.com/blog/increases-efficiency-simplify-resource-planning-processes Hi, We are building our own AMP pages and need to add AMP discovery tag to each page. <link rel="amphtml" href="https://www.example.com/url/to/amp/document.html"> Does SquareSpace have any sort of templating language that will allow me to inject the URL as a tag in <head></head>? Essentially, for URL: https://www.bridgitsolutions.com/blog/increases-efficiency-simplify-resource-planning-processes I need to add the following code in head tag: <link rel="amphtml" href="https://amp.bridgitsolutions.com/amp/blog-increases-efficiency-simplify-resource-planning-processes"> This code is unique to each page. Thoughts/suggestions on how to make this happen? Link to comment
tuanphan Posted March 6, 2020 Share Posted March 6, 2020 You can add this tag to Page Settings > Advanced > Header. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted March 7, 2020 Share Posted March 7, 2020 @tuanphan: the code is unique to each page, depends on the canonical URL.. so i can't add a generic tag.. Link to comment
tuanphan Posted March 7, 2020 Share Posted March 7, 2020 I mean Page Header, not Site Header (Code Injection Header) Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
AleVer Posted November 23, 2020 Share Posted November 23, 2020 Hello @tuanphan! I was wondering if something like this can be done with my homepage. I'm having problems with google search console, its showing my HOMEPAGE as Duplicate, submitted URL not selected as canonical. Is there a way to ad a canonical tag on squarespace? Thansk! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.