WordPress · api · fg-0093

Swapping two slugs fails because Yoast immediately redirects the freed slug

If you see The slug you freed redirects to the old page, the cause and the fix for WordPress are below, last verified 2026-09-04.

Verified Sep 2026trust 50/100
Symptom
The slug you freed redirects to the old pageReclaiming a URL lands on a 301
Cause
Yoast Premium creates a 301 the moment a slug changes, so freeing a slug books a redirect that then hijacks the URL you want to reuse.
Fix
Rename the current owner, delete the auto-created redirect on the freed slug, rename the real page onto it, then confirm Yoast created the redirect from the real page's old URL.
Apply
POST /?rest_route=/yoast/v1/redirects/delete {"origin":"product/<slug>"}; list with GET /?rest_route=/yoast/v1/redirects/list
Affected
Yoast SEO Premium, September 2026

Last verified 2026-09-04 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun