Saltar al contenido
A repaired purple route connects website cards around a broken orange path Ilustración IA

WordPress 404 Errors After a Slug Change: A Repair Workflow

Changing a page slug can leave an old menu item, translated route or article link pointing to an address that no longer resolves. The visible symptom is a 404, but the repair depends on whether the content moved, was accidentally disconnected or was deliberately removed.

For a WordPress 404 after a slug change, start with the exact failing URL and the intended destination. Avoid adding broad redirects before understanding the route that should exist.

Capture the failing request

Record the full URL, where the visitor found it, the expected page and the actual response. Include the language prefix, trailing slash and any relevant parameters. A translated path can fail while the source-language page works correctly.

Test the link from its source as well as by entering the destination directly. If only one fails, the source may contain an outdated path. If both fail, investigate the destination or routing configuration.

Keep a small repair record:

Field Example to record
Old URL Exact address returning the error
Intended destination Existing page that fulfils the same purpose
Source Menu, article, email, external link or unknown
Change Slug edit, translation edit, move or removal
Expected result Restored page, relevant redirect or genuine 404

The example fields are a diagnostic template, not a list of URLs that should be redirected automatically.

Confirm the page still exists

Check publication status and the saved permalink in WordPress. A draft or private page will not behave like a public destination for an ordinary visitor. Also check whether the content was moved to the bin or assigned a different parent path.

WordPress core usually redirects a changed post slug, because it stores the previous slug (_wp_old_slug) and sends visitors to the new address. That fallback is less reliable for pages, custom routes and translated URLs, so test those explicitly.

If the slug change was accidental and no intentional replacement is needed, restoring the original route may be the clearest repair. If the move was intentional, identify a stable new destination before editing links.

Do not repeatedly save permalink settings as a universal fix. That can refresh rewrite rules in relevant situations, but it does not correct a typo, missing page or wrong translated slug association.

Inspect translated routes separately

For multilingual sites, compare the source page's permalink with the translation plugin's stored language mappings. Check navigation, language-switcher destinations and manually entered links for each affected locale.

Use the existing multilingual URL relationship checks to keep the repair connected to the full language workflow. A translation can be present in the editor while its public path is still wrong.

After changing a mapping, save it through the installed plugin's supported interface, refresh the relevant cache and verify the public destination. Do not infer success from a saved settings message alone.

Choose the response that matches the content

Situation Appropriate direction
Page should still use the old address Restore the intended route
Same content permanently moved Redirect the old URL to the relevant new URL
Several URLs represent the same available content Review canonical consistency
Content removed without a relevant replacement Keep an appropriate not-found or gone response
Destination is temporarily unavailable Investigate availability before declaring a permanent move
Find the old URL, choose the correct route and verify source linksIlustración IA
Find the old URL, choose the correct route and verify source links.

A redirect to the home page is rarely a useful substitute for a specific missing guide. It can confuse readers and fail to represent a meaningful replacement. Google's crawl-error guidance distinguishes missing content from pages that should be recoverable.

Check the full redirect path. Prefer a direct route to the final relevant destination, without loops or a chain through several retired addresses. Use a supported redirect mechanism and document where the rule lives.

Update links where they originate

A redirect can preserve access through old bookmarks and external links, but your own navigation should normally point directly to the current address. Review menus, buttons, article links, related-content blocks and translated copies.

Use descriptive anchors that still fit the destination. If the new page has a different purpose, reconsider the link instead of swapping its URL mechanically. The internal linking workflow provides a way to keep these source-to-destination relationships recorded.

Prioritise links that visitors can actually use: the main menu, product journey and relevant supporting articles. Keep a record of external sources you cannot edit rather than claiming the old URL has disappeared everywhere.

Recheck search signals

On the final page, audit canonical and robots signals. The canonical should represent the intended preferred URL; it is not a mechanism for making a missing page resolve.

Check that sitemap entries, language alternatives and internal links consistently reference the intended routes. Google's canonicalisation guidance explains how these signals relate to duplicate or similar pages.

WpAgencyKit SEO includes a 404 Monitor that logs failing URLs and lets you create a 301 redirect from the log. Metadata settings alone do not create redirects.

Close the incident with evidence

Retest as an ordinary visitor and on a representative mobile view. Record the final response, destination, source-link updates and cache action. If the problem involved multiple languages, verify each affected path explicitly.

Continue reviewing recurring failed requests through the site's available logs or search diagnostics. Some old external links may remain in use. The repair is complete when the intended journey works and its remaining dependencies are understood, not merely when one error message has disappeared.

Cookie settings

Choose by category.

Solo usamos las cookies adecuadas, lo prometemos. Las técnicas están para que el sitio funcione como debe; las demás – solo si nos das el ok – para que tu experiencia sea más cómoda y a medida. "No estamos aquí para espiarte, solo para recordar quién eres." Tú eliges: aceptar todo, rechazar o personalizar.

Strictly Necessary Obligatorio
These cookies are essential for the website to function properly and cannot be disabled.
Preferences
These cookies allow the website to remember choices you make and provide enhanced functionality and personalization.
Analytics
These cookies help us understand how visitors interact with the website, helping us improve our website and services.
Marketing
These cookies are used to track visitors across websites to display relevant advertisements.