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
  • 665,005
  • 155
  • 1,345
  • 1,328
JoeyH
  • 307
  • 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,337
  • 8
  • 63
  • 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
  • 110,221
  • 32
  • 151
  • 174