Quick Tip: Override Magento Meta data in XML files
In this quick tip I’ll teach you how to override the meta data using Magento’s XML layout files. You’ll be able to adjust any meta tag in the head with ease. For the changes I’m teaching you to make I recommend you add them to your local.xml file which you may need to create within your theme if it doesn’t already exist (app/design/frontend/[package]/[theme]/layout/local.xml)
To add these to different pages simply change the outer most tag (customer_account_login) to the approiate tag. For example if you wanted to override a product page, just change the outer
most tag to <catalog_product_index>.
That it from me, if you have any other quick references like this, let me know in the comments and I’ll add them to the post! Thanks for reading!
Looking for an expert Magento 2 Developer to help with your project?