How to get the content from datatable crawlled by Google BOT?

How to get the content from datatable crawlled by Google BOT?

liviu.danielliviu.daniel Posts: 19Questions: 6Answers: 0
edited December 2017 in DataTables 1.10

Hi,

I'm using PHP to get the content from a dataset and display it on the client side. (PHP based on the solution provided on the datatables download page). The problem is that the content of the table isn't crawlled by the Google BOT and if someone searches for an item that exists on my page, in the table, will not be shown on their Google search request.

Is there a way to make the content from datatables "crawlable"?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,694Questions: 1Answers: 10,102 Site admin
    Answer ✓

    My understanding is that Google Bot will actually execute Javascript, so if you have client-side processing enabled, it will index all of the content.

    Having said that, you might want to consider embedded the data into the plain HTML table (i.e. create the HTML server-side) which would allow Google to fully index it without any Javascript. Or you could consider deep linking into a table.

    Allan

This discussion has been closed.