How do I prevent framed html pages from coming up in a Google search?
I made a site with Dreamweaver that has frames and within those frames I have different html pages that load into them. I came across an extension once which I believe prevented those pages from coming up in Google searches but cannot relocate it. These pages are just bare text and should not be accessed by themselves.
Public Comments
- Google will index any page that is linked to by another page. If you want to prevent this, one solution is to add a rel="nofollow" attribute to your anchor tag. For example, <a href="/stayout/plain.html" rel="nofollow"> Alternatively (and a more universal solution), you can add the path to those pages to a robots.txt file so that search crawlers won't index them. For more info on how to create a robots.txt file, here's one resource. There are many more on the web. http://www.javascriptkit.com/howto/robots.shtml
Powered by Yahoo! Answers