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 -
IFrame Persistent Music Player - SEO impact
Hi, I'd like to know if using an iFrame for a persistent music player on a website - e.g https://www.sampletoolsbycr2.com - would have any negative impact on SEO? For example, it doesn't cause any issues preventing the site being crawled? Thanks, Joe
Technical SEO | | iweb_agency0 -
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 -
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 -
External video content in iframe
Hi, On our site we have a lot of video content. The player is hosted by a third party so we are using an iframe to include the content on our site. The problem is that the content it self (on the third party domain) is shown in the google result. My question is: Can we ask the third party to disallow the content from indexing in their robots.txt or will that also affect our own use of the video content? For example we use video-sitemaps to include the videos in Google video search (the sitemap links to the videos on our own domain, but we are still using iframes on the pages to collect the content from the third party domain that will then be blocked by robots.txt). I hope you understand what I mean... Any suggestions? Thanks a lot!
Technical SEO | | Googleankan0 -
Is this dangerous (a content question)
Hi I am building a new shop with unique products but I also want to offer tips and articles on the same topic as the products (fishing). I think if was to add the articles and advice one piece at a time it would look very empty and give little reason to come back very often. The plan, therefore, is to launch the site pulling articles from a number of article websites - with the site's permission. Obviously this would be 100% duplicate content but it would make the user experience much better and offer added value to my site as people are likely to keep returning even when not in the mood to purchase anything; it also offers the potential for people to email links to friends etc. note: over time we will be adding more unique content and slowly turning off the pulled articled. Anyway, from an seo point of view I know the duplicate content would harm the site but if I was to tell google not to index the directory and block it from even crawling the directory would it still know there is duplicate content on the site and apply the penalty to the non duplicate pages? I'm guessing no but always worth a second opinion. Thanks Carl
Technical SEO | | Grumpy_Carl0 -
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