although I do not use it on my Dawn theme shop, Shopify creates an all collections page automatically and I can’t get rid of it (this is a default page coming from Shopify, wasn’t created by me). Is there a way to get rid of it? it has negative influence on my SEO.
Use this script in your /head theme.liquid area and it will disable the access to that page. I tried to use the solution offered but it would still render that page for a brief second before redirecting it to a different url and its just not a nice look when you refresh the page.
I found this script to be working. You can add as many urls to it to disable I guess.