It’s in the table postmeta
with the meta_key of _wp_old_slug
If you wanted to clear all of the old slugs you could use this:
DELETE FROM wp_postmeta WHERE meta_key = '_wp_old_slug';
Related Posts:
- Use category base slug in posts’ permalink
- How to automatically generate a unique random slug
- Post slugs and images cannot have same name?
- Change the Slug of Post Type post to baseurl/post/%postname%
- How to control which category will be picked for the slug of a post?
- Change slug with custom field
- Bulk update post slugs through database
- After database migration, posts not showing up in dashboard
- How to handle broken links created by permalink/slug changes?
- Visting slug for ‘post’ post type shows 404 not archive?
- how do i add posts-page slug before posts slug in permalinks
- How to 301 redirect from url with post id to permalink with post name (slug)?
- My post permalinks are always the same
- post_name is not stored until post is published… where should I store my slug until it goes live then?
- Can’t seem to replicate permalink structure for localhost development site
- Change permalinks in posts via SQL
- Delete all drafts?
- Is it possible to use WP_Query to only pull posts with attachments?
- Second get_permalink inside loop points to wrong URL
- Get posts and include taxonomy term
- Why my wp_posts data is so huge?
- Add field to user meta table in database when link is clicked
- How safe is it to delete old posts edits to save database space?
- Two Custom Post Types with Identical Articles Competing for the same Slug
- WordPress custom post type with folder structure in slug
- Custom Permalink Structure for Pages & Posts
- Delete post revisions only for a single post
- my post slug gets really long and I can’t change it
- Replace image name on upload to the new post name on front-end form
- Edit the post title from the frontend
- Move posts from a non-wordpress site to wordpress
- wp_posts table extremely large
- How to Assign / Move all Deleted post to a category
- custom word in custom permalink structure
- Display post number by category
- Saving Post Data in Another Database
- Show custom post with custom categories with specific slug
- register_post_type permalink
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Post is blank when I click on the link
- Custom permalink for each post
- Restore woocommerce orders
- Auto update post title and slug when post status is changed
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- How to select particular month post from table and update the post status using MySQL?
- Post/page title to permalink transformation – what is behind the scenes?
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- post type slug vs page slug
- Update field in database for users
- Post titles and thumbnails as links to custom post types?
- Internal linking to posts permalink fail because of spaces and stripe at postname
- Import custom database into wp and keep the post id
- Link post images to post
- Making posts permalinks consistent numbers
- why the posts queried from sql is more than those showed on the page?
- Can Permalink structure of %postname%/%post_id% improve performance
- How to link post titles on page A to its posts on page B?
- Problems with WordPress in subfolder, posts show a blank page
- Moved to a new server, backup was a day old and missing 3 posts, anyway to recover them from old host?
- how to create a sub section in posts
- Categories Listing and Highlighting current category item
- Is there a function to get post info for any publish_status by post ID?
- Standalone form does not post to the url when form fields are populated (otherwise it does)
- Your ideas on my though “delete or move all of the posts in a specific category when 3 days are passed”
- How Can I Always Display A Particular Post First Using WP_Query?
- Help on conditional statement to accompany wp_insert_post function please?
- Changing permalink of WordPress
- Rewriting blog permalinks
- How can I globally italicize list of texts in the UI database or Posts? [closed]
- Set Default Post as Parent Child (Nested) Relation
- Is it possible to modify posts table to only read for more recent ones?
- How can I add random alphabets in wordpress permalink posts structure
- Change permalinks for posts & for custom post types
- Remove subcategory slug from url
- Can I show category name in url for only one of my categories?
- Permalink Short code showing unnecessary link text inside the loop
- Please help a newbie with blog page issue?
- Menu Items disappearing/being empty on save or post edit
- My website is showing today’s date instead of published date since db migration to a new wordpress
- Get post slug and match with menu item slug to change css
- My post permalinks are redirecting to the post archive page for some reason?
- How can I make a post sub link?
- How to setup default value of post_id
- Prevent a post with a specific ID from being created
- How do you change the permalink for posts for a single category?
- Private post caught in endless redirect loop
- Bulk find & replace on WordPress posts/pages (minus image paths)
- How to set the post permalink using the WordPress REST API?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- WP posts using index.php instead of single.php
- How to add a ‘News’ section to specific posts in WordPress
- unable to display two post per page in wordpress front-page.php
- Reusing old post IDs
- Add a url parameter to the current post and read it in a shortcode
- Trigger on DB make problem on wordpress?
- Comments are in database, don’t show up in WordPress backend or frontend
- Is there a way to save different data when USER interacts with the same POST?
- How can I set the permalink of an article / page equal to the permalink of an existing article / page?
- How can I stop ‘in use’ message from intermittently blocking my wp_posts table?
- Prevent Archive URLs