Skip to content
English - United States
  • There are no suggestions because the search field is empty.

How to hide certain pages from search engines?

Why hide pages from search engines?

Key points • Some pages should not appear in Google (test, confirmation, internal) • The “noindex” parameter prevents their indexing • The sitemap and robots.txt must remain consistent for clean SEO

On your hotel website, some pages are not intended to be visible in Google: test pages, internal pages, form confirmation, campaign drafts, temporary versions… Hiding them from search engines is simple and avoids polluting your indexing.

Hiding a static page: the simplest method

To begin, open the page's SEO settings. In this area, you will find an option to add the noindex directive.

Enable the option “Prevent search engines from indexing this page”. A “noindex” meta robots tag will be automatically added upon publication. Google will crawl the page but will not add it to its index.

💡 Tip: Use this option for pages whose URL should never appear in the results, or for temporary content.

Hide a dynamic CMS page

For pages generated by your collections (articles, rooms, offers, etc.):

  1. Open the CMS template in your SEO settings.
  2. Enable the “noindex” option for all pages linked to this collection, if necessary.
  3. Alternatively, filter your lists to exclude certain items, then apply "noindex" only to the relevant items via a conditional field (advanced method).

If you need to hide only certain items, add a boolean field “Do not index” to your collection, then: • enable conditional visibility in the template to display a meta robots “noindex” when this field is checked.

Sitemap and robots.txt: what you need to know

When you mark a page as “noindex”, it may still appear in the sitemap as long as it is published. This isn't a problem, but if you want to prevent Google from discovering it completely, you can: • remove it from the sitemap (by disabling its indexing) • or hide it using advanced rules in robots.txt

💡 Warning: Avoid using robots.txt to accidentally block important pages. A simple "Disallow /" can block your entire hotel website.

Check the status in Google Search Console

To ensure the page is properly hidden:

  1. Open Search Console
  2. Use the URL Inspection tool
  3. Verify that the status indicates “Indexing not authorized by ‘noindex’”.

If the old version is still indexed, click on “Request an update”.

Conclusion

Hiding a page from search engines is simple: activate “noindex” in your SEO settings, adjust your sitemap if necessary, and check the result via Google Search Console. This method ensures a clear, clean, and consistent hotel website for both your visitors and search engines.