homepage Welcome to WebmasterWorld Guest from 54.197.147.90
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Best way to 'nofollow' iframe banners ?
mike2010




msg:4551504
 8:37 pm on Mar 5, 2013 (gmt 0)

I'm getting conflicting info on how to 'nofollow' iframe banners...so our PR doesn't bleed onto them.

I'm reading here

[productforums.google.com...]

that adding <iframe rel="nofollow" has no effect on outbound links ?

Basically I want to nofollow all my affiliate links....as most of them use 'iframes' these days.

 

phranque




msg:4551549
 11:56 pm on Mar 5, 2013 (gmt 0)

you could use robots.txt to exclude the iframed document from crawling.

mike2010




msg:4552332
 10:51 pm on Mar 7, 2013 (gmt 0)

#1 technically speaking, should an <iframe rel="nofollow" do the trick or no ?

#2 any assistance using robots.txt to exclude this particular iframe banner is appreciated. Just to give me an idea , so I could do the same with the others. I never knew you could block them through robots.txt Maybe ur just talking about the URL and not the whole iframe code? anyway, code below :

<iframe width="300" scrolling="no" height="250" frameborder="0" src="http://ads.mysite.com/ads/juggcash_inserts/300x250_1_0_lp.php?nats=NDg0MDYwOjM6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name="" rel="nofollow"> </iframe>

mike2010




msg:4552335
 10:57 pm on Mar 7, 2013 (gmt 0)

something else I also thought of after submitting that...

Is that Robots.txt kind of works differently than rel="nofollow" i would think.

PR might still be able to leak onto the external link if it's just Robots.txt'd.

rel="nofollow" specifically tells google "i don't want PR leaking onto this external link".

phranque




msg:4552458
 7:08 am on Mar 8, 2013 (gmt 0)

PR might still be able to leak onto the external link if it's just Robots.txt'd.


iframes don't pass PR - only anchor elements (and if used properly link rel canonical elements)
that's because an iframe isn't considered a link between web resources.


#1 technically speaking, should an <iframe rel="nofollow" do the trick or no ?


i'm guessing the rel nofollow on an iframe won't validate but it's more useless and irrelevant than harmful.


#2 any assistance using robots.txt to exclude this particular iframe banner is appreciated. Just to give me an idea , so I could do the same with the others. I never knew you could block them through robots.txt Maybe ur just talking about the URL and not the whole iframe code? anyway, code below : <iframe width="300" scrolling="no" height="250" frameborder="0" src="http://ads.mysite.com/ads/juggcash_inserts/300x250_1_0_lp.php?nats=NDg0MDYwOjM6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name="" rel="nofollow"> </iframe>


making some assumptions about your url structure - i would suggest blocking any access by googlebot to the ads.example.com hostname or at least the ads subirectory.

the robots exclusion protocol is pretty simple:

The Web Robots Pages:
http://www.robotstxt.org/robotstxt.html [robotstxt.org]

Robots.txt Specifications - Webmasters Google Developers:
http://developers.google.com/webmasters/control-crawl-index/docs/robots_txt [developers.google.com]

Block or remove pages using a robots.txt file - Webmaster Tools Help:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=156449 [support.google.com]


note that robots.txt can and should exclude googlebot from crawling the (iframed) resource but G search may index the url without crawling the content...

mike2010




msg:4553517
 5:05 pm on Mar 11, 2013 (gmt 0)

thx dude, yea I kinda forgot that we can't robots.txt external files...so i'd have to iframe it locally first, and then robots.txt those files. (directory)

I did 'not' know that iframes don't pass PR at all though. example if my iframe had <iframe=src="http://ads.externalwebsite.com

I would always feel some PR would leak. But i'm guessing your saying no, so i'll believe it.

Dot_Media




msg:4595374
 3:31 pm on Jul 22, 2013 (gmt 0)

According to a test Michael Martinez did iframes are now leaking link juice. [seroundtable.com...]

Best bet is to create a local page, noindex, nofollow it with robots meta tag and substitute that page in for the video URL.

phranque




msg:4595538
 11:06 pm on Jul 22, 2013 (gmt 0)

i would assume the flow of link juice is from the url of the iframe rather than the url of the page containing the iframe.
i'm not sure how much actual "leaking" is happening.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved