WordPress.org

Forums

How to permanently remove 'old' page and post slugs (2 posts)

  1. stringnikolic
    Member
    Posted 2 years ago #

    How do I 'permanently' remove old page and post slugs.

    The current slugs are redirecting to 'old' slugs.

    Is there a simple way, or plugin that will do this?

  2. MattWohler
    Member
    Posted 2 years ago #

    Those 'old' slugs are kept in the postmeta table. Using phpMyadmin you could delete them ALL with:

    DELETE FROM wp_postmeta WHERE meta_key = '_wp_old_slug';

    Or delete them individually in that table.

    Backup your database before attempting.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags