Are Google now indexing iFrames?
-
A client is pulling content through an iFrame, and when searching for a snippet of that exact content the page that is pulling the data is being indexed and not the iFrame page. Seen this before?
-
Yeah, I use iframes and if I want to be sure they are NOT indexed, I Just add a "noindex" tag. You may also want to add a "nofollow" tag to avoid spiders to follow links inside the frame. Using iframes may be a good idea to reduce the number of links on a page (Bruce Clay suggestion).
-
I've never seen it before, but like everyone here said, it's not a good idea.
This makes me wonder though:
1. Can you find the original page using a snippet? And if not:
2. Is the page contained in the iframe indexed? (Or better-phrased, is the page that is being framed "noindex"?)
It makes sense to me that if the framed page is noindex, that Google would index the content and attribute it to the page framing it.
One perfect example:
I embed videos using an iframe and then I make the video unlisted in YouTube. My embedded content is indexed and even displayed as a rich snippet....
-
I have noticed content within iFrames being indexed by google and text within those iFrames being attributed to the page/url that is hosting the iFrame. Not sure how often this applies. I avoid iFrames.
Merchant Circle uses them and their pages get credit for content in them.
-
It might have been covered but it does seem that google is ignoring iframes in relation to commets code posted on sites.for instance: our text cached version.: http://webcache.googleusercontent.com/search?q=cache:8IZ95GICp7AJ:gaveltek.com/seoblog/&hl=en&gl=us&strip=1
compare the page title to (use headers it easier)
www.gaveltek.com/seoblog the list "comments" and despite there being some the are not posted. However, I do believe general wordpress comments hold some weight. That is not to sayt that facebook comments do not, its just done via different metrics, like social, and trust, and egngagement.
Cheers
TODD
-
A good way to check is go to google.com and type in your full URL like this:
site:www.domain.com
Then you will be populated with your sites pages of course. Now there is a link there that says: "cache" and you can see what it cached.
I think they may be getting better at knowing what's in a iframe. Look at how many sites use facebook comments on the blog and how do you think thats ran? iframes. Do you remember google and adobe working together at reading .pdf's and flash.
The little magnifying glass has some cool technology behind it that I'm sure helped them know whats really on the site. Without getting to far off track I do feel like they are better at reading iframes. Just my .02c in this thread.
-
last thought... i've only ever used iframes in the aforementioned example. Not an ideal way to display your original content if you want it indexed.
-
It is very typical for Google to ignore iframes. I don't know the precise details of your situation but there are several reasons for iframing that might make sense - this is situational - so no hating!
-
you're an affiliate and using another offer (conversion form) that you have to iframe to generate leads, etc
-
you want to hide duplicate content that appears elsewhere on the site (although there are far more elegant ways to do this)
3)You're pulling video or other syndicated content from a publisher who wants to maintain control (ie not let you outrank them with their own content)
*** Remember that the iframed content can certainly be indexed but usually only from the destination URL's originating source. For example: You are www.insuranceaffilifate.com running an offer from www.insurance.com/form_1011 - you will most likely use insurance.com's form via iframe on your landing page. That form, unless it uses a NOINDEX meta tag, will likely be picked by the search engines from www.insurance.com but will be ignored on your site www.insuranceaffiliate.com.
Hope this helps.
-
-
I have to agree with Julich in that you should move the content to be truly located on www.domain.com instead of iframe.domain.com.
-
I totally agree that they shouldn't be using iFrames and it is part of my recommendations to them, but we need to work with what we have at the moment.
So just to clarify, you would say that www.domain.com which is pulling the data through from iframe.domain.com would rank?
Even though all the content except the navigation, footer, etc is on iframe.domain.com.
-
Normally, it would be www.domain.com (unless it doesn't provide any content outside the iFrame).
But it is not abnormal to also see iframe.domain.com in the SERPS, since it may have some backlinks pointing to it.
Anyway, using iframes is a weird technique and I recommend you merge those into www.domain.com if possible (and don't forget to do some 301 redirections to tell Google your pages have definitely moved to www.domain.com).
-
OK, so if www.domain.com was pulling through content from iframe.domain.com which domain would you expect to rank?
I would personally expect iframe.domain.com to rank as that is actually where the content is and the www.domain.com provides the link to that page. I am currently seeing both domains rank, which has lead me to ask the question.
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
-
Google is indexing bad URLS
Hi All, The site I am working on is built on Wordpress. The plugin Revolution Slider was downloaded. While no longer utilized, it still remained on the site for some time. This plugin began creating hundreds of URLs containing nothing but code on the page. I noticed these URLs were being indexed by Google. The URLs follow the structure: www.mysite.com/wp-content/uploads/revslider/templates/this-part-changes/ I have done the following to prevent these URLs from being created & indexed: 1. Added a directive in my Htaccess to 404 all of these URLs 2. Blocked /wp-content/uploads/revslider/ in my robots.txt 3. Manually de-inedex each URL using the GSC tool 4. Deleted the plugin However, new URLs still appear in Google's index, despite being blocked by robots.txt and resolving to a 404. Can anyone suggest any next steps? I Thanks!
Technical SEO | | Tom3_150 -
How long does Google/Bing take to index
Hello we have 2-3 new pages being submitted every night to google/bing via our sitemap. Two issues I am noticing. Wondering if anyone else has same issues. a) 22 URL submitted via sitemap but only 1 indexed in two weeks. there are no errors showing b) If i submit manually using "Fetch As Google" and request indexing - the page gets indexed right way but after a day it seems to be unindexed - it will show up when i search (site:domain.com) but then disappear from the results doing the same search a few days later. Is this normal or do i have a problem that needs addressing? thank you
Technical SEO | | sancarlos0 -
Google not indexing /showing my site in search results...
Hi there, I know there are answers all over the web to this type of question (and in Webmaster tools) however, I think I have a specific problem that I can't really find an answer to online. site is: www.lizlinkleter.com Firstly, the site has been live for over 2 weeks... I have done everything from adding analytics, to submitting a sitemap, to adding to webmaster tools, to fetching each individual page as googlebot and then submitting to index via webmaster tools. I've checked my robot files and code elsewhere on the site and the site is not blocking search engines (as far as I can see) There are no security issues in webmaster tools or MOZ. Google says it has indexed 31 pages in the 'Index Status' section, but on the site dashboard it says only 2 URLS are indexed. When I do a site:www.lizlinketer.com search the only results I get are pages that are excluded in the robots file: /xmlrpc.php & /admin-ajax.php. Now, here's where I think the issue stems from - I developed the site myself for my wife and I am new to doing this, so I developed it on the live URL (I now know this was silly) - I did block the content from search engines and have the site passworded, but I think Google must have crawled the site before I did this - the issue with this was that I had pulled in the Wordpress theme's dummy content to make the site easier to build - so lots of nasty dupe content. The site took me a couple of months to construct (working on it on and off) and I eventually pushed it live and submitted to Analytics and webmaster tools (obviously it was all original content at this stage)... But this is where I made another mistake - I submitted an old site map that had quite a few old dummy content URLs in there... I corrected this almost immediately, but it probably did not look good to Google... My guess is that Google is punishing me for having the dummy content on the site when it first went live - fair enough - I was stupid - but how can I get it to index the real site?! My question is, with no tech issues to clear up (I can't resubmit site through webmaster tools) how can I get Google to take notice of the site and have it show up in search results? Your help would be massively appreciated! Regards, Fraser
Technical SEO | | valdarama0 -
Why google indexed pages are decreasing?
Hi, my website had around 400 pages indexed but from February, i noticed a huge decrease in indexed numbers and it is continually decreasing. can anyone help me to find out the reason. where i can get solution for that? will it effect my web page ranking ?
Technical SEO | | SierraPCB0 -
Missing files in Google and Bing Index
We uploaded our sitemap a while back and we are no longer see around 8 out of 33 pages. We try submitting the sitemap again about 1-2 weeks ago and there but no additional pages are seen when I do site: option in both search engines. I reviewed the sitemap and it includes all the pages. I am not seeing any errors in the seo moz for these pages. Any ideas what I should try?
Technical SEO | | EZSchoolApps0 -
CDN Being Crawled and Indexed by Google
I'm doing a SEO site audit, and I've discovered that the site uses a Content Delivery Network (CDN) that's being crawled and indexed by Google. There are two sub-domains from the CDN that are being crawled and indexed. A small number of organic search visitors have come through these two sub domains. So the CDN based content is out-ranking the root domain, in a small number of cases. It's a huge duplicate content issue (tens of thousands of URLs being crawled) - what's the best way to prevent the crawling and indexing of a CDN like this? Exclude via robots.txt? Additionally, the use of relative canonical tags (instead of absolute) appear to be contributing to this problem as well. As I understand it, these canonical tags are telling the SEs that each sub domain is the "home" of the content/URL. Thanks! Scott
Technical SEO | | Scott-Thomas0 -
How do I get google to index the right pages with the right key word?
Hello I notice that even though I have a site map google is indexing the wrong pages under the wrong key words. As a result its not as relevant and is not ranking properly.
Technical SEO | | ursalesguru0