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 -
Which is better Ajax, iframe in terms of seo for my category page review section?
Hello, Whatever reviews I receive from customer on my Product page same reviews I show on relevant Category and Subcategory Pages. Now due to this I feel somewhat my page google consider as duplicate. Not sure. So I am planning to use either ajax or iframe on my categories pages so that google can't read my reviews of category pages. Is it a good practice to use ajax or iframe or anything else you can suggest? Thanks!
Technical SEO | | wright3350 -
Use of iFrames to embed video content?
So we decided to add interesting video content we have shot ourselves to improve the user experience on our website. We have read though all the SEO material and advice we could find and decided to use Vimeo to host our videos instead of self-hosting. The videos themselves will not show up on Vimeo or Google as we set our account to 'private', but we notice that to embed the videos on our website - the embed code is an iFrame. My question's are, aren't iFrames supposed to be bad for SEO? Should we look to another video hosting solution instead? If other websites embed our videos on their site using the iFrame, do we get any SEO credit or the backlink? Thx.
Technical SEO | | Liam-Web0 -
Can iFrames count as duplicate content on either page?
Hi All Basically what we are wanting to do is insert an iframe with some text on onto a lot of different pages on one website. Does google crawl the content that is in an iFrame? Thanks
Technical SEO | | cttgroup0 -
Client wants to distribute web content to dealers - iFrame?
I have a client who sells a product through a network of nationwide dealers. He wants to provide update-able content to these dealers so they can create sections on their websites dedicated to the product. For ex., www.dealer.com/product_XYZ. The client is thinking he'd like to provide an iframe solution to the dealers, so he can independently update the content that appears on their sites. I know iFrames are old, but are there any SEO concerns I should know about? Another option is to distribute content via HTML that has a rel=canonical command as part of the code, but then he loses the ability to centrally update all the distributed content. Are there other solutions he should consider? Thanks --
Technical SEO | | 540SEO0 -
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 -
Best way to create a shareable dynamic infographic - Embed / Iframe / other?
Hi all, After searching around, there doesn't seem to be any clear agreement in the SEO community of the best way to implement a shareable dynamic infographic for other people to put into their site. i.e. That will pass credit for the links to the original site. Consider the following example for the web application that we are putting the finishing touches on: The underlying site has a number of content pages that we want to rank for. We have created a number of infogrpahics showing data overlayed on top of a google map. The data continuously changes and there are javascript files that have to load in order to achieve the interactivity. There is one infographic per page on our site and there is a link at the bottom of the infographic that deep links back to each specific page on our site. What is the ideal way to implement this infographic so that the maximum SEO value is passed back to our site through the links? In our development version we have copied the youtube approach implemented this as an iframe. e.g. <iframe height="360" width="640" src="http://www.tbd.com/embed/golf" frameborder="0"></iframe>. The link at the bottom of that then links to http://www.tbd.com/golf This is the same approach that Youtube uses, however I'm nervous that the value of the link wont pass from the sites that are using the infographic. Should we do this as an embed object instead, or some other method? Thanks in advance for your help. James
Technical SEO | | jtriggs0 -
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