Last active
December 20, 2015 22:59
-
-
Save josephfinlayson/6209492 to your computer and use it in GitHub Desktop.
vanity url remover
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE * | |
FROM `wp_postmeta` | |
WHERE `meta_key` = 'vanity_url' | |
OR `meta_key` = '_dest_page_id' | |
DELETE * | |
FROM `wp_posts` | |
WHERE `post_type` = 'vanity_url' | |
DELETE FROM `wp_fusion`.`wp_posts` WHERE `wp_posts`.`ID` = 489 LIMIT 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment