How To Change URL by changing the page for indexing each page by Google

How To Change URL by changing the page for indexing each page by Google

samirrezasamirreza Posts: 4Questions: 2Answers: 0

i want to change url by changing page and add the page number to the end of url for example : mysite.ir/datatable?page=2
and when i enter this url in browser the datatable render from page 2 not page 1
i want to use this feature for indexing purpose by google

Answers

  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin

    You would need to use the displayStart option to tell DataTables which page you want to appear. You could get that information from the query string and then simply multiply it by the number of records per page to get the display start value required.

    Allan

This discussion has been closed.