Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Iframes and search engines

Can I block an iframe getting spidered?

3:58 pm on May 7, 2004 (gmt 0)

Preferred Member from GB 

10+ Year Member

joined:July 26, 2002
votes: 0

Am I right to assume that if I include page B in an iframe on page A, and have a noindex,nofollow robots metatag in the head of page B, then page B won't be spidered. The same as regular frames, yes?
3:51 am on May 8, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0


As a matter of fact, the last time I tested, search engines weren't even following the src= attribute of an iframe , only regular links targeted to change the iframe document.

4:01 am on May 8, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 1, 2002
votes: 0

Yes but but you might be better off using robots.txt to block page B instead.