Forum Moderators: open

Message Too Old, No Replies

google and iframe issues

         

tigerNat

2:02 pm on Sep 7, 2004 (gmt 0)



I have search page that use an iframe to calculate and find my search answers using the given parameters, then save the results as a var, then send the var to a <span> in the original page using innerhtml

the reason is so i can change search parameters without reloading the whole page again, the form sends it results to the iframe and the iframe again returns the results to the <span>

i was told that this is a problem for google to see because the page is first loaded with a message "please wait" until it gets the results and therefore google doesnt pick up the links!?

does anyone know how to get google to read the links or another way around this

kaled

8:52 am on Sep 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Googlebot doesn't run scripts, press buttons, etc.

If you want googlebot to see something, it's got to be there to be seen when the page loads and there is no javascript running.

Also, Google considers the contents of an IFRAME to be a separate page. It will find the contents and follow any links it finds as normal but the contents will not be indexed as belonging to the parent document.

So, essentially, you will have to provide another path around your site that can be navigated by robots (not just googlebot). Which then raises the issue of dealing with the urls that googlebot sees because they will, presumably, not be the same as those you wish your users to see.

The solution, is to deliver different pages to robots - this is called cloaking. I doubt you want to go that far so you'll have to decide upon a compromise.

Kaled.