How can I declare Doctype on my web pages for better SEO?

Had an seo report saying that alot of my pages dont have doctype declared? How do i fix this? Do i put html5<doctype/)

Hi @Vvel

Aibek is here from Speedimize.io

Usually the doctype is declared by default. In any case, you can specify as below in theme.liquid.

https://www.w3schools.com/tags/tag_doctype.asp

In short, at the beginning of theme.liquid, write:

I know how add it but I don’t know what specific file to put it in. My report says 87 pages dont have it. Homepage, collections, blogs, and pages.

Can you share with us URL of your shop?

So we can check this and find solution for you.

inniti wear dot com

Hey @Vvel

https://prnt.sc/126twcu -doctype not specified. Usually, in each theme, the doctype is specified at the beginning of theme.liquid. At the very beginning of the theme.liquid doctype is not registered.

theme.liquid is a global layout. Enter the doctype in this file.

If you wish, we can help you with this.

We can send you request via Shopify Partners.

is has already been there.

this is what the couple of first lines look like…

{% render ‘breadcrumbs’ %}
{% capture content %}

{% include 'avada-seo' %}

Hi. Did you solve this? i also get message that doctype is not declared but i have in my theme.liquid and it is also in source code of page visible