Using datatable for retail site that needs to be crawled
Using datatable for retail site that needs to be crawled
Hi, I'm building a site for an auto dealer. In a perfect world I'd love to use datatables to display the vehicles and then click through to a details page.
Doing this is easy enough. The searching, filtering, state saving etc. etc. are great.
But, should I be concerned about google not being able to index the site's inventory? About 500 cars on the site, so datables would default to about 50 rows and pagination to the rest.
Any advice? Super bad idea? Anyone doing this already and all good?
I've done a lot of searching, possibly adding parameters to the url etc. but no real clear answer.
Thanks tj
This question has an accepted answers - jump to answer
Answers
It you're not using
serverSide
, the data will still be in the DOM so will be searchable, even if it's not displayed on the page. You can verify that by going to our home page, view page source and search for Gavin.Colin
Yes unfortunately I'd be using server side. Thanks for the feedback.
Not an expert, but you can add a sitemap on your server to tell search engines whats available on your server.