11 posts by 2 authors in: Forums > CMS Builder
Last Post: December 10, 2013   (RSS)

By Dave - December 10, 2013

Hi Kevin, 

If you replace this line:

<!-- ajax content will be automatically inserted here -->

With this:

<!-- ajax content will be automatically inserted here -->
<?php include "index_body_ajax.php"; ?>

And then remove this:

// on page load get ajax content
$( document ).ready(function() {
  updateAjaxContent('index_body_ajax.php');
});

Then it will load content via PHP on the first page view and make it accessible to the crawler.

For making subsequent pages accessible you could direct link to the main index.php page with a query string ?like=this but you're really going to need to do some experimenting.  Try doing some google searches for different approaches and finding a simple one that is easy to implement and works for you.

Hope that helps!

Dave Edis - Senior Developer

interactivetools.com