Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong canonical URL with Elementor post grid #20172

Open
2 of 11 tasks
maybellyne opened this issue Apr 19, 2023 · 5 comments
Open
2 of 11 tasks

Wrong canonical URL with Elementor post grid #20172

maybellyne opened this issue Apr 19, 2023 · 5 comments

Comments

@maybellyne
Copy link

maybellyne commented Apr 19, 2023

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

When an archive page/paginated series is created with Elementor Pro, the canonical URLs of the respective pages in the series falls back to the first page instead of employing self-referencing canonical URLs

To Reproduce

Step-by-step reproduction instructions

  1. Install Yoast SEO & Elementor Pro
  2. Create a page with Elementor page and add a Posts or Loop Grid element

Expected results

In a paginated series, self-referencing canonical should be used

Actual results

In the paginated series, /page/n defaults to the first page in the series

Screenshots, screen recording, code snippet

image_720
Desktop-screenshot

Technical info

  • If relevant, which editor is affected (or editors):
  • Block Editor
  • Gutenberg Editor
  • Elementor Editor
  • Classic Editor
  • Other:
  • Which browser is affected (or browsers):
  • Chrome
  • Firefox
  • Safari
  • Other:

Used versions

  • WordPress version: 6.2
  • WordPress Theme: Twenty Twenty-One
  • Yoast SEO version: 20.5-RC2
  • Gutenberg plugin version:
  • Elementor plugin version:
  • Classic Editor plugin version:
  • Relevant plugins in case of a bug:
@jonoalderson
Copy link

The issue is broader than just the canonical; the problem is that we don't recognize/treat this as a paginated state, and all of our logic, meta, schema, etc, reflects the series root.

@maybellyne
Copy link
Author

@maybellyne
Copy link
Author

Please inform the customer of conversation # 1081614 when this conversation has been closed.

@maybellyne
Copy link
Author

Conversation # 1104131 doesn't use Elementor but WPBakery integration in JNews theme. Yoast SEO doesn't recognize pagination from widget elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants