How to Hide a Web Page from Search Engines

4 years ago

Adding this meta tag into the head section of your webpage, it will hide that page from search engine results. Add it just after the tag.

PHP Code:


<?php 

<meta name='robots' content='noindex,nofollow'/> ?>


If you are using Blogger, go to "Edit HTML" to add the above code.

Note: Adding above meta tag into your Blogger blog, it will hide your entire blog from search engines.

If you only want to hide one Blogger page (for example: Advertise page), add it like this:

PHP Code:


<?php 

<b:if cond='data:blog.url == data:blog.canonicalHomepageUrl + &quot;p/advertise.html&quot;'> <meta name='robots' content='noindex,nofollow'/></b:if> ?>

Related forums
Bridgerton
Forum

Bridgerton's Regé-Jean Page Brushes Off Next James Bond Hype

3 months ago
The Witcher Season 2 Premiere Script Page Reveals Opening Scene
Forum

The Witcher Season 2 Premiere Script Page Reveals Opening Scene

3 months ago
Umbrella Academy Season 3: Elliot Page Will Still Play Vanya
Forum

Umbrella Academy Season 3: Elliot Page Will Still Play Vanya

4 months ago
How to Surf the Web Anonymously
Forum

How to Surf the Web Anonymously

5 months ago