Main issue: Hide a specific non-product page from onsite search and from Google without editing theme code.
Key points:
The requester wanted a per-page solution (not all pages), preferably without modifying theme files. Hiding via Google Search Console was acceptable but they sought an in-Store solution.
One suggestion proposed editing theme.liquid with a handle-based condition to inject directives. This involves theme code and was explicitly rejected by the requester.
Another suggestion recommended using Shopify’s SEO metafield on the page object (seo.hidden), similar to how it’s used for products, with official docs referenced. This approach aims to hide the page from search engines and sitemaps, and is applicable to individual pages.
Outcome:
The requester accepted the metafield-based approach, acknowledging they knew it for products and learned it applies to pages as well.
Status:
Resolved. Action: Set the seo.hidden metafield on the specific page(s); no theme code changes required.
Summarized with AI on December 30.
AI used: gpt-5.
Hi. Is there any way to hide a page, not a product page, from a site search and from Google search results that doesn’t involve editing the theme code, such as what Shopify suggests here.
I’m aware I can hide the page from Google search console, so that’s acceptable, but can I prevent a page from appearing in the site search results? I don’t want to hide all pages, just particular pages.
I specifically asked for a solution that didn’t involve editing the theme code. I even linked to the solution you wrote out, saying I didn’t want that solution.