To ensure the element on your Shopify or WooCommerce site does not contain any invalid tags, follow these steps:
Shopify
- Log in to your Shopify admin panel.
- Go to Online Store > Themes.
- Click Actions > Edit code on the theme you want to edit.
- In the Layout folder, open the
theme.liquidfile. - Check the
section for any invalid tags. Valid tags include,,,,
, and. - Remove or correct any invalid tags.
- Save your changes.
WooCommerce (WordPress)
- Log in to your WordPress admin panel.
- Go to Appearance > Theme Editor.
- In the right-hand sidebar, find and open the
header.phpfile. - Check the
section for any invalid tags. Valid tags include,,,,
, and. - Remove or correct any invalid tags.
- Save your changes.
By ensuring your element contains only valid tags, you help improve the SEO and overall performance of your eCommerce site.