wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Wrong canonical URL with Elementor post grid

Open maybellyne opened this issue 2 years ago • 10 comments

  • [x] I've read and understood the contribution guidelines.
  • [x] 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:

maybellyne avatar Apr 19 '23 12:04 maybellyne

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.

jonoalderson avatar Apr 19 '23 12:04 jonoalderson

+1 https://wordpress.org/support/topic/wrong-canoncical-urls-with-pagination/

maybellyne avatar Apr 19 '23 12:04 maybellyne

+1 https://wordpress.org/support/topic/bad-canonical-on-elementor-post-page-when-yoast-is-activated-2/

maybellyne avatar Apr 19 '23 12:04 maybellyne

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

maybellyne avatar Dec 06 '23 14:12 maybellyne

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

maybellyne avatar Feb 20 '24 20:02 maybellyne

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

maybellyne avatar Dec 05 '24 16:12 maybellyne

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

maybellyne avatar Dec 05 '24 21:12 maybellyne

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

maybellyne avatar Apr 25 '25 20:04 maybellyne

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

maybellyne avatar May 07 '25 20:05 maybellyne

+1 https://wordpress.org/support/topic/yoast-seo-canonical-tag-issue-for-blog-page-2-not-self-referencing/

maybellyne avatar May 30 '25 18:05 maybellyne

Slack conversations: https://yoast.slack.com/archives/C01NCRHHN30/p1755068901480669 and https://yoast.slack.com/archives/C02D43TFT/p1754858408397719

josevarghese avatar Aug 13 '25 07:08 josevarghese