So is there a way to control the canonical? Is this a bug or something you intend to add to the next release?
Hey @atomicdev
I am unable to recreate this issue on my installation. Can you please post your website URL? So I can check this one?
Sure, the url is http://www.loftconversionsnorth.co.uk/?amp
And this has appeared in Search Console:
Remove prohibited HTML tags, or fix attributes or values not supported by the AMP standard. AMP pages with prohibited or invalidly used HTML tags may appear in Google search results without AMP-specific display features. Learn more.
Status: 10/11/16
Details:
The attribute ‘alt’ may not appear in tag ‘a’.
The attribute ‘style’ may not appear in tag ‘span’.
AMP URL:
http://www.loftconversionsnorth.co.uk/loft-conversions-penwortham/amp/
Canonical URL:
http://www.loftconversionsnorth.co.uk/loft-conversions-penwortham/
Last detected: 10/12/16
So can you see the problem?
<link rel=”canonical” href=”http://www.loftconversionsnorth.co.uk/loft-conversions-up-holland/” />
Why is the site homepage showing the above canonical link when this is a totally different page?
Hey @atomicdev
The canonical issue was fixed in the latest update.
Regarding the errors, You are adding the styling with adding style tag in the span. I would recommend you to add the styling with custom css feature.
I hope it helps,
Regards,
Ahmed
nice one, can see update fixed the canonical issue 🙂