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
-
Sudden Indexation of "Index of /wp-content/uploads/"
Hi all, I have suddenly noticed a massive jump in indexed pages. After performing a "site:" search, it was revealed that the sudden jump was due to the indexation of many pages beginning with the serp title "Index of /wp-content/uploads/" for many uploaded pieces of content & plugins. This has appeared approximately one month after switching to https. I have also noticed a decline in Bing rankings. Does anyone know what is causing/how to fix this? To be clear, these pages are **not **normal /wp-content/uploads/ but rather "index of" pages, being included in Google. Thank you.
Technical SEO | | Tom3_150 -
Google indexing .com and .co.uk site
Hi, I am working on a site that is experiencing indexation problems: To give you an idea, the website should be www.example.com however, Google seems to index www.example.co.uk as well. It doesn’t seem to honour the 301 redirect that is on the co.uk site. This is causing quite a few reporting and tracking issues. This happened the first time in November 2016 and there was an issue identified in the DDOS protection which meant we would have to point www.example.co.uk to the same DNS as www.example.com. This was implemented and made no difference. I cleaned up the htaccess file and this made no difference either. In June 2017, Google finally indexed the correct URL, but I can’t be sure what changed it. I have now migrated the site onto https and www.example.co.uk has been reindexed in Google alongside www.example.com I have been advised that the http needs to be removed from DDOS which is in motion I have also redirected http://www.example.co.uk straight to https://www.example.com to prevent chain redirects I can’t block the site via robot.txt unless I take the redirects off which could mean that I lose my rankings. I should also mention that I haven't actually lost any rankings, it's just replaced some URLs with co.uk and others have remained the same. Could you please advise what further steps I should take to ensure the correct URL’s are indexed in Google?
Technical SEO | | Niki_10 -
Google Not Indexing Submitted Images
Hi Guys! My question isn't too dissimilar to one asked a couple of years ago, regarding Google and image indexing, but having put my web address into a Google image search, I get a return of 15 images, so something isn't right. 5 months ago I submitted our 'new' site to Google webmaster. We have just moved it onto a Shopify platform. They (Shopify) are good at providing places to add titles and Alt tags and likewise we fill them in (so that box ticked!) However I have noticed over the last couple of months that despite 161 images being submitted, only 51 have been indexed. Furthermore and as I said earlier, when you put our site, site:http://www.hartnackandco.com into Google images, it only returns a total of 15 images. Any suggestions and help would be wonderful! Cheers Nick
Technical SEO | | nick_HandCo0 -
Redirecting HTTP to HTTPS - How long does it take Google to re-index the site?
hello Moz We know that this year, Moz changed its domain to moz.com from www.seomoz.org
Technical SEO | | joony
however, when you type "site:seomoz.org" you still can find old urls indexed on Google (on page 7 and above) We also changed our site from http://www.example.com to https://www.example.com
And Google is indexing both sites even though we did proper 301 redirection via htaccess. How long would it take Google to refresh the index? We just don't worry about it? Say we redirected our entire site. What is going to happen to those websites that copied and pasted our content? We have already DMCAed their webpages, but making our site https would mean that their website is now more original than our site? Thus, Google assumes that we have copied their site? (Google is very slow on responding to our DMCA complaint) Thank you in advance for your reply.0 -
Does Google index XML files?
Does Google or other search engines include XML files in their index? More specifically, I am wondering how Google knows the difference between an xml filetype and an RSS feed.
Technical SEO | | nicole.healthline0 -
Google News not indexing .index.html pages
Hi all, we've been asked by a blog to help them better indexing and ranking on Google News (with the site being already included in Google News with poor results) The blog had a chronicle URL duplication problem with each post existing with 3 different URLs: #1) www.domain.com/post.html (currently in noindex for editorial choices as showing all the comments) #2) www.domain.com/post/index.html (currently indexed showing only top comments) #3) www.domain.com/post/ (very same as #2) We've chosen URL #2 (/index.html) as canonical URL, and included a rel=canonical tag on URL #3 (/) linking to URL #2.
Technical SEO | | H-FARM
Also we've submitted yesterday a Google News sitemap including consistently the list of URLs #2 from the last 48h . The sitemap has been properly "digested" by Google and shows that all URLs have been sent and indexed. However if we use the site:domain.com command on Google News we see something completely different: Google News has indexed actually only some news and more specifically only the URLs #3 type (ending with the trailing slash instead of /index.html). Why ? What's wrong ? a) Does Google News bot have problems indexing URLs ending with .index.html ? While figuring out what's wrong we've found out that http://news.google.it/news/search?aq=f&pz=1&cf=all&ned=us&hl=en&q=inurl%3Aindex.html gives no results...it seems that Google News index overall does not include any URLs ending with /index.html b) Does Google News bot recognise rel=canonical tag ? c) Is it just a matter of time and then Google News will pick up the right URLs (/index.html) and/or shall we communicate Google News team any changes ? d) Any suggestions ? OR Shall we do the other way around. meaning make URL #3 the canonical one ? While Google News is showing these problems, Google Web search has actually well received the changes, so we don't know what to do. Thanks for your help, Matteo0 -
Google has not indexed my site in over 4 weeks, what's the problem?
We recently put in permanent redirects to our new url, but Google seems to not want to index the new url. There was no problems with the old url and the new url is brand new so should have no 'black marks' against it. We have done everything we can think off in terms of submitting site maps, telling google our url has changed in webmaster tools, mentioning the new url on social sites etc...but still nothing. It has been over 4 weeks now since we set up the redirects to the url, any ideas why Google seems to be choosing not to index it? Thanks
Technical SEO | | cewe0