The below ansrew is providing you are using your own domain and everything is set correctly.
#1 Step make a backup of your store theme. Make the changes there first.
I believe that this is what you are after, I donât know why Shopify Robots TXT blocks every crawler including Google. Because of security reasons blah, blah, blah⌠ultimately you will need to modify your robots.txt or create one in shopifyâs backend (Theme > Edit Code > Templates > +add a new page >Template Type > Robots.tx add the code below)
You will also need to submit a new sitemap on Google search console. The sitemap will have to be updated as you add new products or pages.
Watch this video Tutorial.
https://youtu.be/4iB9033PwxE?si=D8gPdvEvnILjPnLO
Or go to their tutorial link
https://logeix.com/shopify-seo/robots-txt
Robots.txt code: the code below is what I am using for my site, adjust by âAllow or Disallowâ the folders you want Google to crawl for indexing.
////////////////////////////////START//////////////////////////////////////
we use Shopify as our ecommerce platform
{%- comment -%}
{% endcomment %}
{% for group in robots.default_groups %}
{{- group.user_agent -}}
{% for rule in group.rules %}
{{- rule -}}
{% endfor %}
{%- if group.user_agent.value == â*â -%}
{{ âAllow: /collections/all*â }}
{{ âAllow: /policies/â }}
{{ âAllow: /collections//â }}
{{ âAllow: /collections/?page=*â }}
{{ âAllow: /pageâ }}
{{ âAllow: /blogsâ }}
{{ âAllow: /blogs//tagged/â }}
{{ âDisallow: /collections/vendors*?q=â }}
{{ âDisallow: /collections/types*?q=â }}
{{ âDisallow: /collections/*?constraintâ }}
{{ âDisallow: /collections/*?filterâ }}
{{ âDisallow: /collections/*?pf_â }}
{{ âDisallow: /collections/*?viewâ }}
{{ âDisallow: /collections/*?grid_listâ }}
{%- endif -%}
{%- if group.sitemap != blank -%}
{{ group.sitemap }}
{%- endif -%}
{% endfor %}
////////////////////////////////END//////////////////////////////////////
/////Sitemap
Submitting a sitemap from shopify itâs very easy.
Just go to Google search console > just enter > sitemap.xml and hit enter.
Video tutorial
https://help.shopify.com/en/manual/promoting-marketing/seo/find-site-map
/// 404/403//// Redirects///
If you have changed an URL, it will create a broken link, create a redirect from the old url to the new url.
From your Shopify admin, go to Content > Menus.
Click View URL Redirects.
Click Create URL redirect.
In Redirect from, enter the old URL that you want to redirect visitors from.
In Redirect to, enter the new URL that you want to redirect visitors to. To redirect to your storeâs home page, enter /.
Click Save redirect.
Tutorial link
https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect
I hope this helps.