I have a website, image gallery, with 10s of thousands of images. When a user makes a request to the website www.example.com he is returned with a paginated results, lets say 20 images. When the user starts scrolling the bottom of the page having a link for next page, gets fired, also changing the url from www.example.com to www.example.com/?page=2 and so on with more scroll.

I have seen websites having infinite scroll, with no change in URLs.

So which one is a good practice, in terms of bot crawling and SEO or is there a better way?

Also changing URLs gets more pages indexed at Google, might be a plus point.

1 Answer 1


Infinite scroll has no direct impact on SEO because Googlebot does not scroll the page. It won't matter if you change the URL on scroll or not for crawlability, because Googlebot does not crawl that way. Googlebot loads the page, but does not interact with it at all. The bot doesn't click, scroll, hover, or otherwise interact with the page. Any page element that appears with these types of user interaction is not going to be seen by the crawler. After the page loads, Googlebot scans the document object model (DOM) for text to index and for links that it adds to the crawl queue. Googlebot is going to find your ?page=2 link in the DOM and crawl page two from that, not because it scrolled the page and saw the URL change.

For usability, changing the URL during infinite scroll makes sense. You want users to be able to bookmark or link directly to the content they are seeing. That will help SEO in the long run because you will get more links to your site and more of those links will be deep links.

In general, pagination is bad for SEO. Pages 2+ will all look very similar to Googlebot. A link to the next page does not pass much link juice to page 2 and just a small fraction of that to page 3. It is unlikely that Google will choose to index ten, let alone hundreds or thousands of pages of your pagination. Rather than having Googlebot crawl pagination, it is usually better to divide your site up into tons of categories and have Googlebot crawl pages about various subjects. I usually recommend implementing category navigation and then preventing pagination from getting crawled for better SEO.

  • firstly, thx for a detailed answers, and yes google have indexed my www.example.com/?page=100 too. if its good in the long run, then great. i also thought about categories, now my website serve as both, searching for an image in open gallery and a www.example.com/categories...with proper subject categories and navigation system. Jul 9, 2021 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.