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
- How can I safely increase the character limit for post passwords?
- How to Group Posts by the First Letter or Number?
- Pretty URL with add_query_var
- How are terms connected with posts in database?
- get_permalink returns default link
- how to get permalink using sql
- Why can posts never have a number as the link?
- How to allow slashes in single posts when i click in the edit permalink button
- Post custom permalink results in 404 for archive page
- Custom post type single (permalink) throws a 404 error
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- How do I get the slug of a custom taxonomy category of a post?
- What Defines What Category A Post Picks (if in multiple)
- Custom post type permalinks breaking due to 3.1 bug fix
- Changing my permalink structure – will new layout conflict with existing page?
- change default post archive page link
- Define a name to the posts slug
- Manually removing revision post types
- How much of my site can I recover from public_html?
- How to delete all the content of a wordpress site without deleting the Post and pages?
- Changing Permalinks for Default Post type to reflect navigation
- How should I add links to other pages/posts from my post?
- WordPress not opening posts with only numbers if permalink is post_name
- Extracting post categories
- Using permalinks, category slugs, and tag slugs
- Problem with permalink routing?
- Switch to page template when using post permalink
- How to have posts have a parent in permalink like site.com/blog/postname
- Copy post to separate database with “add_action(….)”
- Retrieve post ID from “querying” URL
- When open add new post or page WordPress add post with ID=0 continuously [closed]
- hiding permalink in admin if the user is subscriber
- Anyone know why wordpress converts some html entities to their numeric equivalents?
- What do these phpMyAdmin errors mean on my WordPress databaes?
- When changing pages to posts, how do you set up 301 redirects for the page URLs?
- why there are so many posts whoes post_type is revision? will these records waste too much database space?
- Delete all drafts?
- Why my wp_posts data is so huge?
- WordPress custom post type with folder structure in slug
- Delete post revisions only for a single post
- Edit the post title from the frontend
- wp_posts table extremely large
- Show custom post with custom categories with specific slug
- Updating permalink structure using ‘post_link’ filter results in 404 error for posts
- Custom permalink for each post
- When WP_Query only returns 1 post, how do I automatically redirect to that post?
- Import custom database into wp and keep the post id
- why the posts queried from sql is more than those showed on the page?
- Moved to a new server, backup was a day old and missing 3 posts, anyway to recover them from old host?
- 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”
- Changing permalink of WordPress
- How can I globally italicize list of texts in the UI database or Posts? [closed]
- Set Default Post as Parent Child (Nested) Relation
- How can I add random alphabets in wordpress permalink posts structure
- Change permalinks for posts & for custom post types
- My post permalinks are redirecting to the post archive page for some reason?
- How can I make a post sub link?
- How do you change the permalink for posts for a single category?
- Bulk find & replace on WordPress posts/pages (minus image paths)
- WP posts using index.php instead of single.php
- unable to display two post per page in wordpress front-page.php
- how i show manual data in a post
- Maximum number of posts per page before affecting performance?
- Permalink base only for posts
- If I moved the location of my generic “posts” page, do I need to change the slugs for all of the individual posts?
- Precedence of page permalinks over woocommerce product category links?
- Surrogate ID for posts, is there an alternative field in the posts table?
- Expired Post with More Recent Time Stamp?
- Converting Posts to Pages
- How to change the publishing date of each posts?
- Use a custom post URL that is outside the blog root directory
- Change link to permalink inside post content
- How to display subcategory articles in the category view?
- Change posts URL [duplicate]
- retrieve post slug by post_tags taxonomy
- Load posts from external source if not found in database
- Show all posts in category
- How can we pass a value from the_permalink() at WordPress?
- Default post type doesn’t display in url
- Is there any point to using wp_unique_post_slug?
- How can I merge a several related posts into one post?
- Why can posts never have a number as the link?