Make Views Infinite Scroll more SEO friendly

Created on 10 June 2014, over 10 years ago
Updated 10 July 2023, over 1 year ago

Hi I have a question.

Is this module SEO friendly? Like described in this Google article: http://googlewebmastercentral.blogspot.com.es/2014/02/infinite-scroll-se...

<link rel="previous" href="/view-path">
<link rel="next" href="/view-path?page=1">

And does it leave the regular pagination GET parameters working? ?page=XX

Thank you!
Jérémy

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇫🇷France jchatard

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany osopolar 🇩🇪 GER 🌐

    Patch from #21 with following modification no not set pager like page=0:

    - $element = $pager_manager->getUpdatedParameters([], $pager->getPagerId(), $current - 1);
    + $element = $current > 1 ? $pager_manager->getUpdatedParameters([], $pager->getPagerId(), $current - 1) : [];

  • 🇩🇪Germany Anybody Porta Westfalica

    Thanks for the important work on this. I think this now needs to be fixed in 2.0.x-dev and therefor needs a reroll. Furthermore it would be super helpful to have tests to ensure it works as expected

  • 🇩🇪Germany Anybody Porta Westfalica

    We should please have tests for this and it would be great, if someone could test this manually before. Thanks!

Production build 0.71.5 2024