Image files /cdn blocked by Robots.txt - Empire Theme

Hi all,

I’m facing an indexing issue with my store. Currently all of our /cdn files are being blocked by the robot.txt file. We’re using the template robot.txt file that came with the empire theme:
Here is the URL and the list of disallows:
https://secretsaunas.com/robots.txt

we use Shopify as our ecommerce platform

User-agent: *
Disallow: /a/downloads/-/*
Disallow: /admin
Disallow: /cart
Disallow: /orders
Disallow: /checkouts/
Disallow: /checkout
Disallow: /77842841900/checkouts
Disallow: /77842841900/orders
Disallow: /carts
Disallow: /account
Disallow: /collections/sort_by
Disallow: //collections/sort_by
Disallow: /collections/
+*
Disallow: /collections/%2B
Disallow: /collections/%2b
Disallow: //collections/+*
Disallow: //collections/%2B*
Disallow: //collections/%2b*
Disallow: /collections/filter&filter
Disallow: /blogs/
+*
Disallow: /blogs/%2B
Disallow: /blogs/%2b
Disallow: //blogs/+*
Disallow: //blogs/%2B*
Disallow: //blogs/%2b*
Disallow: /?oseid=
Disallow: /preview_theme_id
Disallow: /preview_script_id
Disallow: /policies/
Disallow: /
/policies/
Disallow: //?ls=&ls=*
Disallow: //?ls%3D%3Fls%3D*
Disallow: //?ls%3d%3fls%3d*
Disallow: /search
Disallow: /apple-app-site-association
Disallow: /.well-known/shopify/monorail
Disallow: /cdn/wpm/.js
Disallow: /recommendations/products
Disallow: /
/recommendations/products
Disallow: /?q=
Disallow: /usf_sort=
Disallow: /custom=

Currently all files with /cdn are currently blocked - such as this URL - https://www.secretsaunas.com/cdn/shop/products/saunalife-model-ee6g-sauna-barrel-glass-front-with-back-benchessaunalifesecret-saunas-545059_626x657.jpg?v=1699073895

At first I thought it was the Disallow: /cdn/wpm/*.js that’s blocking these, but this just blocks the javascript and it’s standard on most Shopify stores without blocking /cdn/ URLS.

When inspecting in GSC this is what shows up:

I’ve been trying everything to get these pages to start indexing. Even adding allow: /cdn/ and that still doesn’t work. Is there anywhere else that could be blocking these pages other than the robots.txt file?

Thank you

Hi,

Customize the robots.txt to allow access to /cdn/

How would you suggest doing that? As I mentioned in the original post we’ve attempted to add allow: /cdn/ to the robots.txt file but this hasn’t worked. Also, we’re using the standard template robots.txt file and this doesn’t usually block /cdn/ files so it’s unclear why it is happening with this particular site but not others.