2

My index page is an infinite scrollable page. I also have a paginated page on another url say /posts with the same content; like how SO's index page and /questions page have the same content.

Will this negatively affect SEO? Will these pages compete for fame seo-wise? If yes, how to prevent this while keeping the infinite-scroll effect.

1 Answer 1

2

The pages won't compete in terms of SEO because Googlebot never scrolls the page. The only content that Googlebot ever sees in content displayed via the onload event. Any content that is only shown after user interaction (such as scrolling or clicking) needs its own URL with links to it if you want Google to find it.

When implementing infinite scroll it is important to ensure that one page of content appears before any user interaction. If you require that users scroll to see the first item, Google will see your first page as blank.

You need to make sure you link to your /posts permalinks so that Googlebot can find them via links on your site. Even if you expect users to mainly scroll to them, you need navigation to the URLs for the permanent location of the content that Googlebot can find. Just putting the permalinks in an XML sitemap is not sufficient for SEO. See The Sitemap Paradox.

You can change the URL using pushState as users scroll. As an article scrolls into position on your infinite page, you can change the URL in browser's location bar without ever loading a new page. This allows users that scroll to an article to easily link to that article by copying and pasting the URL from the location bar. If you don't do this, it could hurt SEO because more users end up linking to the home page rather than deep linking to specific content. The deep links are more helpful for SEO than links to your home page.

3
  • Great, so what points can i draw from your answer ? Maybe a tl;dr ..
    – Bih Tracy
    Oct 5, 2020 at 16:13
  • I don't think it is too long for you to read if you want good SEO for your site with infinite scroll. Oct 5, 2020 at 21:51
  • Honestly I didn't first understand it. :) But after some research, it makes more sense. Thanks for pointing me in the right direction.
    – Bih Tracy
    Oct 5, 2020 at 22:11

Your Answer

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

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