What's your biggest current challenge? Have your say in Community Polls along the right column.

(SOLVED) Meta Description not existing Collection All

(SOLVED) Meta Description not existing Collection All

Chivava
Visitor
2 0 0

Hello,

I have currently tried two different solutions, and the problem is that when i use one solution, it creates a new one in my SEO tool (Morningscore).

 

So I am currently using the following in ''theme.liquid''

{% if request.path == '/collections' %}
<meta name="description" content="Stort udvalg af Premium bilpleje produkter fra blandt andet The Rag Company, P&S Detailing Products, ONR, iK Sprayers og meget mere! Fynsk service, som sørger for en god handel.">
{% elsif page_description %}
<meta name="description" content="{{ page_description | escape }}">
{% endif %}

When I am using the code mentioned above, it will go from giving an error on ''Meta description too short'' (this clears out) to giving a low page score due to missing meta description.

 

When i used the following code, it was giving me an error on ''Meta description too short'' while clearing the ''Missing Meta Description''.

{% if template == 'collection' %}
<title>Bachs Bilpleje Shop - Produkter</title>
<meta name="description" content=“ Stort udvalg af Premium bilpleje produkter fra blandt andet The Rag Company, P&S Detailing Products, ONR, iK Sprayers og meget mere! Fynsk service, som sørger for en god handel." />
{% else %}
{% endif %}

Do you have any recommendations?

My url is www.bachsbilpleje.shop

 

Edit I solved the issue, by creating a new Collection page, that includes all products that has a great value than 0$, where i could easily give a meta description and change the length of the title tag too.

Replies 0 (0)