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
-
Desktop & Mobile XML Sitemap Submitted But Only Desktop Sitemap Indexed On Google Search Console
Hi! The Problem We have submitted to GSC a sitemap index. Within that index there are 4 XML Sitemaps. Including one for the desktop site and one for the mobile site. The desktop sitemap has 3300 URLs, of which Google has indexed (according to GSC) 3,000 (approx). The mobile sitemap has 1,000 URLs of which Google has indexed 74 of them. The pages are crawlable, the site structure is logical. And performing a Landing Page URL search (showing only Google/Organic source/medium) on Google Analytics I can see that hundreds of those mobile URLs are being landed on. A search on mobile for a longtail keyword from a (randomly selected) page shows a result in the SERPs for the mobile page that judging by GSC has not been indexed. Could this be because we have recently added rel=alternate tags on our desktop pages (and of course corresponding canonical ones on mobile). Would Google then 'not index' rel=alternate page versions? Thanks for any input on this one. PmHmG
Technical SEO | | AlisonMills0 -
Is my website indexed correctly in Google - www.couponshop.co.uk
Our website www.couponshop.co.uk has just had a relaunch after a change of direction.
Technical SEO | | LaurenGT
A lot of the pages were redirected. When I checked the indexing of the website on Google, I put site:couponshop.co.uk and only two pages come up, but when I put site:www.couponshop.co.uk they all show up.
Is this correct or are we doing something wrong?0 -
Why is this page not ranking but is indexed?
I have a page http://jobs.hays.co.uk/jobs-in-norfolk and it is indexed by Google but will not show up for any keywords I try. Any ideas?
Technical SEO | | S_Curtis0 -
Google penalising my site? Ranking now outside top 50
Hey there, Was wondering if anyone could give me some advice/help on my current problems with my Google ranking. I used to be on page one this time last year (still am on yahoo and bing) but Google has pushed me out of the top 50. Since then I built a new site on wordpress with new content but it hasn't made any real difference. This is my site address: www.elvisimpersonator4u.co.uk I also have a separate blog here: www.thisiselvis.tv The blog did have some duplicate writing on it which I removed a few months back but it still hasn't improved my Google ranking. Would a 301 redirect fix this problem properly? I've done quite a lot of SEO on several pages on the new site to try and improve it but no luck so far. In fact I hope I haven't over optimised! No tools seem to indicate this though. I have no messages in webmaster tools so there's no obvious penalty, my web hosts keep saying I just need to buy more link builds and content writing from them but I've already done a lot of this and it's made no discernible difference. If someone could have a look and give me some advice I would be most grateful! Thanks,
Technical SEO | | devrox
Jim0 -
Best way to handle indexed pages you don't want indexed
We've had a lot of pages indexed by google which we didn't want indexed. They relate to a ajax category filter module that works ok for front end customers but under the bonnet google has been following all of the links. I've put a rule in the robots.txt file to stop google from following any dynamic pages (with a ?) and also any ajax pages but the pages are still indexed on google. At the moment there is over 5000 pages which have been indexed which I don't want on there and I'm worried is causing issues with my rankings. Would a redirect rule work or could someone offer any advice? https://www.google.co.uk/search?q=site:outdoormegastore.co.uk+inurl:default&num=100&hl=en&safe=off&prmd=imvnsl&filter=0&biw=1600&bih=809#hl=en&safe=off&sclient=psy-ab&q=site:outdoormegastore.co.uk+inurl%3Aajax&oq=site:outdoormegastore.co.uk+inurl%3Aajax&gs_l=serp.3...194108.194626.0.194891.4.4.0.0.0.0.100.305.3j1.4.0.les%3B..0.0...1c.1.SDhuslImrLY&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=ff301ef4d48490c5&biw=1920&bih=860
Technical SEO | | gavinhoman0 -
Google is indexing proxy (mirror) site.
We moved the site to a new hosting. Previously the site used Godaddy Windows Hosting with white domain masking. After moving the site we just mirrored the site. We have to use mirrored domain for PPC campaigns because it mirrored site contains true BRAND name and there is better conversion with that domain plus all trade marked keywords are approved for mirrored domain. Robots.txt User-agent: * Host: www.hermitagejewelers.com Disallow: /Bin Disallow: /css www.hermitagejewelers.com is the main domain. Mirror site is www.ermitagejewelers.com (Without the "H" at the beginning) Most of the keywords are now picked up by mirror site. I have not noticed any major changes in ranking except that it ranks for mirror site. We updated the sitemap. Website is designed very poorly (not by us). Also, we submitted the change address request for ermitagejewelers to hermitagejewelers in webmasters. Please let me know any advice to fix that problem. Thank you.
Technical SEO | | MaxRuso1 -
How to remove a sub domain from Google Index!
Hello, I have a website having many subdomains having same copy of content i think its harming my SEO for that site since abc and xyz sub domains do have same contents. Thus i require to know i have already deleted required subdomain DNS RECORDS now how to have those pages removed from Google index as well ? The DNS Records no more exists for those subdomains already.
Technical SEO | | anand20100 -
Weird Indexing Question
Google has indexed mysite.com/ and mysitem.com/\/ (no idea why). If you click on the /%5C? URL it takes you to mysite.com//. I have a rel=canonical tag on it that goes to mysite.com/ but I was wondering if there was another way to correct the issue.
Technical SEO | | BryanPhelps-BigLeapWeb0