WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. stringnikolic
    Member
    Posted 12 months 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 12 months 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.

Reply

You must log in to post.

About this Topic

Tags