In this guide, we’ll walk you through two reliable methods to unpublish or hide pages from search engine results.
If you’ve wrapped up a campaign or created a temporary landing page, you may want to hide a page from search engines like Google or Bing without deleting it entirely. While GemPages doesn’t currently offer a one-click option to remove pages from listings, there are effective workarounds to prevent search engines from indexing them.
Method 1: Unpublish the Page in GemPages
The simplest way to remove a page from public view is to unpublish it within the GemPages Dashboard. This prevents the page from being accessed by visitors through direct navigation or internal links.
Step 1: From your GemPages Dashboard, go to the Pages tab.
Step 2: In the top-right corner of the page you want to delete, click the three-dot button, then select Unpublish.
Step 3: Unpublish confirmation.
Method 2: Use No-Index and No-Follow Meta Tags
For better control, especially if the page is still live or linked internally, we recommend using no-index and no-follow meta tags in your Shopify theme.
This tells search engines to exclude the page from their index and avoid following any links on it.
Step 1: Go to your Shopify Admin > Online Store > Themes.
Step 2: Select the theme you want to edit, and then click Actions > Edit code.
Step 3: After that, look for the file “theme.liquid” under the Layout section or via the search bar. Select to open the file.

Step 4: To exclude the Search template, paste the following code in the <head> section:
{% if template contains 'search' %}
<meta name="robots" content="noindex">
{% endif %}
Step 5: To exclude a specific page from the search engine, paste the following code in the <head> section:
{% if handle contains 'page-handle-you-want-to-exclude' %}
<meta name="robots" content="noindex">
<meta name="googlebot" content="noindex">
{% endif %}
Make sure that you replace the page-handle-you-want-to-exclude with the correct page handle. Check out the article about page handle for more information
Step 6: Click on “Save” when finished.
By using the no-index tag, you’re instructing Google and other search engines to not include the page in search results. The no-follow directive tells them not to crawl or pass link value from that page.
- The page stays live and accessible by direct link.
- It won’t appear in Google Search or other search engines.
- This is a non-destructive method—ideal for temporary pages, campaigns, or internal use.
Thank you for your comments