简体   繁体   中英

How to avoid some pages from being indexed by search engines?

There is rel="nofollow" but I am not sure about this if it prevents indexing. What do you say? Any ideas?

UPDATE

Sorry I wasn't very clear. There a page a.php, and it has links b.php , c.php , d.php and some other text content. The link to b.php is only relevant if the users are on a.php , and doesn't really returns any output. Its not relevant if somebody goes directly on this b.php from yahoo/google search results.

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

You can update the robots.txt file specifying which URLS not to index or make sure that they are not in your sitemap.xml file

http://www.robotstxt.org/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM