Dangers of iframe?
-
I just noticed that one of our sites are "featured" on another site. The only this on this site is an iframe that has our site on it, i.e.:
<iframe name="ForwardFrameqAW52htK" src="http://www.oursite.com/subdirectory"></iframe>
This got me thinking of two question. First, is there any dangers for us to be included like this?
And, secondly, why would they do like this? To make people believe they have contents and get traffic, and after that change the contents to their own? Or anything else?
-
Yes i bhlieve it will and since google follows javascript, it should be seen as a link
-
Before the change I could see them under Traffic -> referral. I'm not sure how it will be shown now, I have to get back to you regarding that when I have gotten a couple of visitors.
-
Amazing answer!
One question, though. How will this come across on GA? Will it show as a referral from the site with the iFrame?
-
no, but i wouldent put content you want to rank in a iframe
-
I have added google maps to my site in a iframe. Will that cause me seo problems?
-
heh. Good point
-
Let them have the 1% that don't
-
Wonderful solution. Don't know why I didn't think about it myself. Thanks a lot!
If anyone has the same problem and want the buster on all pages you can use:
if (top.location!= self.location) { top.location = self.location.href }
I only needed it for one page. Will be interesting to see how long they will feature us. One thing though, if the visitors of the other site has javascript disabled, this won't work.
-
Thanks Rasmus, i hope he does so and gets back to us wit there reaction.
-
THAT is post of the month for me...pure genious
-
goodness knows why they do it
But place this javascript in the page, and it will reload the page in the parent window, in short it will redirect to your page
if(top.location.href!= window.location.href){
window.parent.location.href = "yourURL"
}That will piss them off
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
SEO & IFrame problem
Hi All, I will try and keep this as simple as possible. My product page links to a separate page with an IFrame, giving my users the option to upload artwork for the product. The IFrame contains the external file upload site (mail big file). When finished, the user can use a button link to return to the product page to continue with their order. As soon as the page with the IFrame was crawled by Google, the IFrame page started to rank in place of where my product page used to rank, yet there is no content on the page relating to my product (just a file upload). So now users are visiting the IFrame via the same query which must be an absolute headache and not useful at all. I have tried the following: 1. Added a line in body text which contains an internal link pointing to the product page using exact match anchor text for the query. (This didn't work) 2. I applied a no index tag to the IFrame, and now my product page is no longer ranking at all. Can anyone help me solve this puzzle. I believe I might be missing something. Kind regards, Adam
Technical SEO | | SO_UK0 -
How to setup an iFrame to be indexed as the parent site
Hi, we are trying to move all of our website content from www.mysite.com to a subdomain (i.e. content.mysite.com), and make "www.mysite.com" nothing more than an iFrame displaying the content from content.mysite.com. We have about 10 pages linking from the home page, all indexed separately, so I understand we'll have to do this for every one of them. (www.mysite.com/contact will be an iframe containing the content from content.mysite.com/contact, and we'll need to do this for every page) How do we do this so Google continues to index the content hosted at content.mysite.com with the parent page in organic results (www.mysite.com). We want all users to enter the site through www.mysite.com or www.mysite.com/xxxxxx, which will contain no content except for iFrames pulling in content from content.mysite.com. Our fear is that google will start directing users directly to content.mysite.com, rather than continue feeding to www.mysite.com. If we use www1.mysite.com or www2.mysite.com as the location of the content, instead of say content.mysite.com, would these subdomain names work better for passing credit for the iFramed content to the parent page (www.mysite.com)? Thanks! SIDE NOTE: Before someone asks why we need to do this, the content on mysite.com ranks very well, but site has a huge bounce rate due to a poorly designed CMS serving the content. The CMS does not load the page in pieces (like most pages load), but instead presents the visitor with a 100% blank page while the page loads in the background for about 5-10 seconds, and then boom 100% of the page shows up. We've been back and forth with our CMS provider about doing something about this for 5 years now, and we have given up. We tested moving our adwords links to xyz.mysite.com, where users are immediately shown a loading indicator, with our site (www.mysite.com) behind it in an iFrame. The immediate result was resounding success... our bounce rate PLUMMETED, and the root domain www.mysite.com saw a huge boost in search results. Problem with this is our site still comes up in organic results as www.mysite.com, which does not have any kind of spinning disk loading indicator, and still has a very high bounce rate.
Technical SEO | | vezaus0 -
Redirect a page intended for iframe
we built an interactive calculator that gets iframe embedded in our blog and landing pages. the blog that embeds it is doing well the problem is that the iframe source html page is also indexed by google and is on the second page of results. which we don't want as it doesn't have any context/branding/call to action/etc. if i put a noindex meta tag on the iframe html source page, will that remove the indexing of the pages that consume it in an iframe?
Technical SEO | | icstars0 -
Does iFrame content between the iFrame tag produce any conceivable value????
One of my clients is using a variety of unbounce pages for their web forms that are held in iFrames in the site template. This doesn't seem to produce much rank as it ranks very low in the search engines, and doesn't list in SEOMOZ as relevant to the keywords that I'm targetting it for. I'm thinking it may provide some benefit to replicate the content in between the iFrame tag, i.e. <iframe src="UnbouncePage.html">replicated content here</iframe>. Any thoughts on this Mozers?? Thankss
Technical SEO | | AndyfromVerb0 -
.com domain is an iframe copy of a .net domain?
Hey folks, This one is over my head. I'm helping out a friend's dental office website (www.capitolperiodontal.com), and their home page source code points to the .net TLD for its content apparently: | | <title></span>http://www.capitolperiodontal.com/</title> http-equiv="content-type" content="text/html" /> rows="100%" id="dd_frameset_0001"> src="http://www.capitolperiodontal.net/" name="dd_content_0001" framespacing="0" frameborder="0" noresize="noresize" title="capitolperiodontal.com" /> <noframes></noframes> My idea was to load all the content from the .net to the .com, then redirect the .net to the .com as it has better domain authority and is, well a .com. Any insights what this iframe biz is all about and if my strategy above is ok? Many thanks folks! john
Technical SEO | | juanzo0070 -
Index Issues with Iframes
I have pages that are being scrapped and displayed in iframes and I wanted to see if anyone could tell me how I could get theses pages to be indexed here is a URL of one of the pages http://coggno.com/onlinetraining/safety-/other/lab-safety-1INde
Technical SEO | | PageOnePowerGang0 -
How to get SEO juice from a widget iframe?
Looking at building a widget for my site, Babyhuddle. We're looking at using iframes for the widget and I'm concerned that this means I won't be able to get any SEO juice out of each widgets that are implemented on users' blogs. Any recommendations on how we can get SEO juice out of widgets in iframes?
Technical SEO | | walidalsaqqaf0 -
IFRAME WIDGET - FOLLOWED LINKS
<iframe style="border: 2px #CCCCCC solid;" src="http://www.cpsc.gov/cgi-bin/javascripts/cpscrss.aspx" title="CPSC RSS Feed" frameborder="0" scrolling="auto" width="224" height="258"></iframe> That is the code my client wants to add to an internal page where we can keep updated news on a specific subject. Only problem is this widget has links within it, these links are "followed". Should i worry about these links being followed? There are quite a few, does anyone know if they will be counted if within an iframe or is there a way to add "no-follow" attribute to them. Can i somehow tell the HTACCESS to add no follows to all links on specific pages? Any thoughts, solutions are greatly appreciated.
Technical SEO | | waqid0