I deleted all collections pages, but link to collection page is still on google search

I am using the Refresh theme. I have a store with only one product, as such I deleted all the collections and have a designated buy page for the one product (/products URL). However, when I google my website, there’s a link entitled Products, and it links to a /collections page that I can edit, but doesn’t actually exist according to the search online store function, which says:

I can’t go back to this page other than through google. How do I delete this page or redirect it to my product page?

Hi,
have you tried setting up a URL redirect from Shopify Admin?

You can do it by heading to Online Store > Navigation > View URL redirects.

![Screenshot 2023-01-31 at 22.50.46.png|2872x1016](upload://l55YTx2DPYgQ7mNc29Af9Hkjt2I.png)

If you’re trying to set up a redirect from Please contact Shopify support at support.shopify.com – Opening Soon, redirect may not work properly. In this case, you should edit theme code: you can do this by heading to Online Store > […] > Edit code

![Screenshot 2023-01-31 at 23.04.29.png|2880x894](upload://bukiGN20KHqmLQPvsJ8NbPbKIiN.jpeg)

Then add this custom script on top of your collections list .liquid file *

  • Liquid file name may change depending on the Shopify Theme you’re using on your store.

By doing so, users should get redirected from **/collections** page to your store homepage.

Let me know if that works!
Simone

Hi @jordanctalbot ,

This is Victor from PageFly - Shopify Page Builder App

You can try to set up a redirect on collection page, that when user landing collection page it will auto redirect to your product page.

If not you can create a dummy collection page then you can edit and prevent it show on Google search.

Hope this can help you solve the issue

Best regards,

Victor | PageFly

I added this code and the redirect but the redirect isn’t active.

Is there a way for me to delete the collections page completely?