Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to add canonical tag for all cms pages. Currently canonical tag enabled for category and product page.
How to do this?
Go to Admin Panel > Content > Pages > Opne CMS Page > Design > Layout Update XML
Admin Panel > Content > Pages > Opne CMS Page > Design > Layout Update XML
Add code in there
<link rel="canonical" src="www.example.com/page-url-key" src_type="url"/>
Don't forget to flush the cache.
Required, but never shown
7 months ago
15 days ago