Search code snippets, questions, articles...

Prevent google to index your webpage

You can use meta tags to tell search engines crawlers not to index a particular webpage or site. To do that you need to place one of the meta tags on your webpage.
<!-- For all search engines-->
<meta name="robots" content="noindex">

<!--For google only-->
<meta name="googlebot" content="noindex">

If you want to forbid all the search engines crawlers to index your webpage, you can use meta tag with name robots and content noindex.

For google crawlers only you can use a meta tag with the name googlebot and content noindex.

Was this helpful?
Programming Feeds
Learn something new everyday on Devsheet