Remove the blog slug from WordPress Multisite root node

At blog site set Settings -> Permalinks -> Common Setting -> Default (Must select default only and don’t touch any thing, If you need to change category base, tag base set at Network Admin only) At Network Admin -> Sites -> (root site) Permalink Sturcture -> /%category%/%post_id% That it will remove /blog slug

Change media item permalink

Yes! Go to your Media Library Find the Image Click Edit Locate the Permalink under the Title Click Edit Change the Permalink Click Update! Edit If for some reason you cannot Edit the Images’ Permalink… you could: Delete Image Change your Pages’ Permalink Re-Upload Image

Adding categories to custom post type in permalink

There are 2 points of attack to cover when you are adding custom post type rewrite rules: Rewrite rules This happens when the rewrite rules are being generated in wp-includes/rewrite.php in WP_Rewrite::rewrite_rules(). WordPress allows you to filter the rewrite rules for specific elements like posts, pages and various types of archive. Where you see posttype_rewrite_rules … Read more

Remove taxonomy slug from a custom hierarchical taxonomy permalink

UPDATE Since writing this WordPress core has added the ‘do_parse_request’ hook that allows URL routing to be handled elegantly and without the need to extend the WP class. I covered the topic in-depth in my 2014 Atlanta WordCamp talk entitled “Hardcore URL Routing“; the slides are available at the link. ORIGINAL ANSWER URL Design has … Read more