My website is a single page (Homepage only) website.
Therefore I’m not using the default URL’s created by Shopify for Products, Collections and Blogs.
Is it recommended to stop these pages from being crawled and indexed?
That is, do I need to stop crawling of these pages by adding this to the robots.txt.liquid file?
{%- if group.user_agent.value == '’ -%}
{{ 'Disallow: /products’ }}
{{ 'Disallow: /collections*’ }}
{{ 'Disallow: /blogs*’ }}
{%- endif -%}
AND do I need to stop indexing of these pages by adding this to the theme.liquid file?
{% if template contains ‘products’ %}
{% endif %}
{% if template contains 'collections’ %}
{% endif %}
{% if template contains ‘blogs’ %}
{% endif %}
Or is this all overkill and unnecessary for any SEO advantage?
Thanks