Tanstack Query + Next.JS 13.4 App Router, Pagination SEO
Unanswered
Giant panda posted this in #help-forum
Giant pandaOP
Hi guys
I have questions it might oot but hopefully it is fine, so i try to build personal blog using nextjs 13.4 app router.
i already implement the pagination with help of tanstack query, but i have a concern regarding the SEO.
i know using tanstack query for pagination makes my blog became client side rendering, but how much it will be affecting my SEO?
and i heard that google robot uses can do pagination but they prefer website with ending of /page=2, /page=3 and so on
so the questions is, Is it possible to use paginated query and to change end of the link when the user click the 2nd 3rd page and so on?
like:
1st page = localhost/3000
2nd page = localhost/3000/page=2
3rd page = localhost/3000/page=3
2th page = localhost/3000/page=4
and so on.
is there any best practices i can follow?
I have questions it might oot but hopefully it is fine, so i try to build personal blog using nextjs 13.4 app router.
i already implement the pagination with help of tanstack query, but i have a concern regarding the SEO.
i know using tanstack query for pagination makes my blog became client side rendering, but how much it will be affecting my SEO?
and i heard that google robot uses can do pagination but they prefer website with ending of /page=2, /page=3 and so on
so the questions is, Is it possible to use paginated query and to change end of the link when the user click the 2nd 3rd page and so on?
like:
1st page = localhost/3000
2nd page = localhost/3000/page=2
3rd page = localhost/3000/page=3
2th page = localhost/3000/page=4
and so on.
is there any best practices i can follow?