Opened 6 years ago
Closed 6 years ago
#45388 closed defect (bug) (invalid)
Hyperlink Errors
Reported by: | nhfrega | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.8 |
Component: | Canonical | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Sometimes, hyperlinks decay and link to another page on the site than the one initially linked.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @nhfrega, welcome to WordPress Trac! Thanks for the report.
If I'm reading this correctly, the issue is that once a post is deleted, any links to it would now link to another post with a similar slug.
That's not a bug, it's WordPress trying to guess the correct URL using the redirect_guess_404_permalink() function.
If you'd like to change this behavior, there's a plugin for that: Disable URL Autocorrect Guessing.