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
-
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 -
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 -
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 -
Adding content into an iframe
I want to buy an app/program that will help me create unique content but the content will be inserted to the page via an iframe. I have heard that iframes are problematic. I know that there will not be a lot of indexable content from this but I think that it will make people want to link to me. I would like to hear from someone's experience if I should go ahead or not.
Technical SEO | | JillB20130 -
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 -
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 -
Iframe & pulling data from higher ranked domain
Hi, i have a question regarding iframes and SEO. I know iframes are bad practice but if you have a brand new domain and want to improve its ranking more quickly, you can host the website file in a higher authority domain, and load an iframe on the new domain. Is this true? For example, if I build and host the website files on www.masterdomain.com (domain authority 48), and then load the pages within an iframe on www.newdomain.com (domain authority 5), will that help increase the domain rank for www.newdomain.com? What are the advantages (if any) and disadvantages for each domain www.newdomain.com and www.masterdomain.com if we do this? Thanks
Technical SEO | | Essentia0 -
Iframes & SEO
I've got a client that wants a site with all content in iFrames. They saw another site they liked & asked if we could do it. Of course we can technically. How big a negative hit would they take with SEO? Is there anything we can do to mitigate it, such as redirects, etc? Thanks for the help!
Technical SEO | | wcksmith0