Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Do we still need to avoid using frame/iframe for good SEO?

I have a html page that has a map of a country with lots of dots indicating location of companies through out the country.

The dot's html link code includes the hash-bang + six characters.

When the user clicks on a dot, the following happens: 1) A modal-dialog box displays an iFrame containing another page (from same site). 2) With the dialog box in open state, the "parent's" url changes (adds a hash-bang + six characters) which the user can use to bookmark the page with the dialog-box. When the dialog box closes, the url reverts to the original url.

Am using jQuery and qTip for displaying the modal-dialog box and iframe content (no Ajax is used).

Would the seachbots search/index the content in the iframe?

share|improve this question

marked as duplicate by John Conde May 28 '12 at 17:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

IFrames are sometimes used to display content on web pages. Content displayed via iFrames may not be indexed and available to appear in Google's search results. We recommend that you avoid the use of iFrames to display content. If you do include iFrames, make sure to provide additional text-based links to the content they display, so that Googlebot can crawl and index this content.

From the Google Webmaster Guide

share|improve this answer

it depends on how you call the modal box - if its an A href .../ link with an ID that is linked to javascrips/jquery, then (in one of my site's case) yes it will be indexed, BUT as its OWN page, ie the content page, not the parent / container.

i got around that by letting google index the iframe content pages, and when a user clicks on the link from a search engine, the page detects that its not within an iframe and redirects back to the parent page.

share|improve this answer
Doesn't that mean even search engines will be redirected (assuming they run your JavaScript code, of course)? In which case Google would end up indexing the correct page and not the IFRAME content page? – Alexis Wilke Mar 27 '14 at 21:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.