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
-
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 -
Thousands of links coming from an iframe
We have an iframed calculator on one website (www.renewablesguide.co.uk) which has a text link to another of our websites (www.solarguide.co.uk) which is where the calculator originates. We allow other sites to embed the calculator which gives us the benefit of a followed link back to our site. However in the case of renewablesguide (which we own) we've added a tab to the calculator on every page which GWT shows up as 24 000 links from this site hitting the Solar Guide homepage. As the link is held within an iframe would this amount of links be seen as spammy?
Technical SEO | | holmesmedia0 -
What the hell that iframe is doing?
I have a competitor using a technique I don't understand. But which seems to work. Basically in the homepage has a <noscript>area with a bunch of internal links to pages like:</p> <ul> <li><a href="foo.com/keyword1">keyword1</a></li> <li><a href="foo.com/keyword2">keyword2</a></li> <li><a href="foo.com/keyword3">keyword3</a></li> </ul> <p>Inside these pages there's an iframe with the site homepage url as source, within the iframe tag there's some text (less than 100 words) with some emphasis on the keyword and a link back to the home using keyword as anchor text.</p> <p>All the pages are in the sitemap and indexed, and when you open one you are shown that page (no 301 redirect).</p> <p>Technically those are not doorway pages, because there's no 301.</p> <p>The website has a much weaker backlink profile than others, but does rank pretty well with better positions for those keywords, for many is the TOP 1 (with the url of the homepage, not the iframed pages).</p> <p>And I don't understand why. I understand the usage of the iframe to have the same content as the home page, but without being detect as duplicate content.</p> <p>And I can guess google crawler does crawl the <noscript> links follow them and.... And since the page is basically empty should not do much. The url of the page with the iframe includes the keyword, but doesn't sounds like such a powerful signal to be sent back the homepage thanks to that link contained within the iframe tags.</p> <p><strong>Does anyone have any idea why it works?</strong></p></noscript>
Technical SEO | | max.favilli1 -
Iframes, AJAX, JS, Etc.
Just started SEO on some legacy sites running JS navigation. Are there any proven ways to stop Google from parsing links and passing internal linkjuice? Ex: iframes, Ajax, JS, etc. Google is parsing some JS links on a couple of our legacy sites. The problem is that some pages are getting link juice and others aren't. It's also unpredictable which links are parsed and which aren't. The choice is rebuild the navigation (ouch), or figure out a way to block JS links entirely and build a simple text based secondary nav for link juice distribution. I definitely don't want to use nofollow. Any thoughts?
Technical SEO | | AMHC0 -
SEO impact of an iframed blog is very low ? Right or wrong ?
We're thinking about adding a blog to our site, but our CMS blogging features are not good. Someone suggested using a wordpress blog and putting it in an iframe on our site. I replied that all the SEO impact of our blogging efforts will be lost because of the iframe. I am right or wrong ? If I am right, could you suggest better alternatives ? Thanks in advance ! Jean-François Monfette
Technical SEO | | jfmonfette0 -
Redirecting ?iframe=true&width=80%&height=80%
I have a extra page that google has indexed: www.jaaronwoodcountertops.com/?iframe=true&width=80%&height=80% Google has it listed as a page with duplicate content as my index page. I've tried to redirect it but the redirect isn't working on this one. Anyone have an idea of how to deal with this guy?
Technical SEO | | JAARON0 -
Openx IFrame and tracking in Analytics
Hi, We're running our own adserver and we use OPENX. The problem is with the iframe invocation type that we have been using to show ads on pages. My question is: How can we track the ad clicks that are being showed in the iframe? I know the method in Analytics to count outgoing links as pageviews or events but I am not sure how to do this for clicks for OPENX Iframes as they don't even include Google Analytics tracking code inside the iframe. any ideas appreciated
Technical SEO | | Gamer070 -
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