Why does my SEO check say that I have multiple meta descriptions but I can only find one in the code?
If you currently, or have in the past installed an SEO app additional meta description may be generated by the app.
Verify that you have multiple meta descriptions:
- View your website
- Right click and select ‘View Page Source’
- Type Control+F (Command+F on a Mac) to open the search box
- Search for <meta name="description" in the file to find the different titles in your theme
- You should see 2 or more results appear
Find the source of the additional meta descriptions:
- Select ‘Actions’ and ‘Edit code’ for your live theme
- Open the theme.liquid file
- Look for a ‘snippet include’ code for the SEO app you use. For example: {% include ‘pluginseo’ %}
- Decide which meta descriptions to remove, the ones generated by the app or by the theme
Remove the meta descriptions generated by the app:
- Add an opening comment tag {% comment %} before the snippet include
- Add a closing comment tag {% endcomment %} after the snippet include
- OR -
Remove the meta descriptions generated by the theme:
- Add an opening comment tag {% comment %} before the start of the <meta name="description" tag
- Add a closing comment tag {% endcomment %} the end of the same tag />