
If you want to prevent a specific web page from appearing in search engine results, add the following meta tag inside the <head> section of that webpage, ideally just after the opening <head> tag:
<meta name='robots' content='noindex,nofollow'/>
How to Use it in Blogger?
If you're using Blogger, go to Theme → Edit HTML of your blog and insert the above code inside the <head> section.
Note: If you add this meta tag directly into your Blogger template, it will hide your entire blog from search engines.
How to Hide Only a Specific Blogger Page or Post?
If you only want to hide a specific Blogger page or post from search engine results(for example, the "Advertise" page), use the conditional tag below to apply the meta tag only to that page:
<b:if cond='data:blog.url == "https://YOURBLOG.blogspot.com/p/advertise.html"'>
<meta name='robots' content='noindex,nofollow'/>
</b:if>
Remember to replace "https://YOURBLOG.blogspot.com/p/advertise.html" with your actual post or page URL.
Important:
If you're using a full URL like https://YOURBLOG.blogspot.com/p/advertise.html, make sure HTTPS Redirect is enabled. Otherwise, the meta tag won't load for visitors using the non-HTTPS (http://) version of the page.
To enable HTTPS Redirect in Blogger:
- Go to your Blogger Dashboard
- Click Settings
- Scroll down to the HTTPS section
- Set "HTTPS Redirect" to ON
This ensures all visitors are automatically redirected to the secure HTTPS version of your blog, so your conditional tags work correctly.