1

we have a html page (out_of_stock.html) that is using jquery to load a php page. were are using the the load function from jquery as follows :

$(document).ready(function() {
    $('#phpcontent').load('/outofstock.php');
});

the problem is that google is indexing the page outofstock.php instead of the page out_of_stock.html. is there anyway to have google index the page out_of_stock.html with all the content of outofstock.php in it?

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
JoeyH
  • 335
  • 2
  • 10

2 Answers2

1

Have a look at this url: http://code.google.com/web/ajaxcrawling/

Also here is a SO question explaining the concept.

Community
  • 1
  • 1
Josiah Ruddell
  • 29,697
  • 8
  • 65
  • 67
0

You need to use the URL hash technique.

See: http://www.techwyse.com/blog/search-engine-optimization/let-google-crawl-your-ajax-based-content/

Diodeus - James MacFarlane
  • 112,730
  • 33
  • 157
  • 176