How does wordpress know to 301 redirect on post change
-
Baffled, I just went into wp-admin and changed the Post Slug to something new, this was reflected in the url, so it is example.com/my-new-post-slug
The old one was example.com/bad-nameWhats nice, is if I go to the old one, I get a 301 redirect, but I have no idea how WP is pulling this off. Looking at the DB schema, I see nothing in there that could allow it to know this. I toggled off all my plug-ins so I know those are not doing this either.
How does this work?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How does wordpress know to 301 redirect on post change’ is closed to new replies.