Filippo oretti
Filippo oretti

Reputation: 49863

Hide web pages to the search engines robots

I need to hide all my sites pages to ALL the spider robots, except for the home page (www.site.com) that should be parsed from robots.

Does anyone knows how can i do that?

Upvotes: 1

Views: 231

Answers (1)

chmeliuk
chmeliuk

Reputation: 1088

add to all pages you do not want to index tag <meta name="robots" content="noindex" />

or you can create robots.txt in your document root and put there something like:

User-agent: *
Allow: /$
Disallow: /*

Upvotes: 2

Related Questions