Web-stories-wp: Yoast SEO: stale cache after permalinks changed

Created on 30 Sep 2020  路  3Comments  路  Source: google/web-stories-wp

Bug Description

In 1.0.0 release, we switched the base URL for stories to be at domain.com/web-stories/ instead of the prior domain.com/stories/. However, some stories on sites using Yoast are still pointing to the old /stories/ URL as their canonical, triggering an issue with non-self canonical pages.

Expected Behaviour

Canonicals should be updated/fixed to point to the latest /web-stories/ canonical URL.

Steps to Reproduce


Examples where this has been seen:
https://lsv-paf.de/stories/sunrise2020/
https://knaptonwright.co.uk/stories/website-copywriting/
https://wecomm.fr/web-stories/pourquoi-creer-site-web/

Screenshots

Additional Context

  • Plugin Version:
  • Operating System:
  • Browser:

_Do not alter or remove anything below. The following sections will be managed by moderators only._

Acceptance Criteria

Implementation Brief

Integration WordPress P2 WP & Infra Bug

All 3 comments

@swissspidy would love your review and thoughts here.

I meant to reply via email first, but alas :)

Yoast SEO caches this stuff in the database. There should be a way for us to re-index those entries to fix this.

Easier to implement than I thought. Should be able to push a fix tomorrow.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

swissspidy picture swissspidy  路  3Comments

injainja picture injainja  路  4Comments

dvoytenko picture dvoytenko  路  3Comments

LuckynaSan picture LuckynaSan  路  3Comments

3pgarro picture 3pgarro  路  4Comments