This applies to WordPress multisite networks. I don’t really recommend doing this. If you do this on the main site of your network, you must make sure that none of your posts, categories, or tags have a slug equal to the slug of a subsite. That would cause a conflict.
But there are times when we have to do what we have to do. If you want to remove the ‘blog’ slug from your permalinks on a network site, do the following.
1. For the site in question, set permalinks to the default setting, like so:
- Go to Settings -> Permalinks -> Common Settings
- Choose ‘Default’
2. Then go the Network Admin -> Sites and set the permalink structure for the site in question, like so:
- Go to the Network Admin -> Sites ->
- On your main site (the root site), click ‘Edit’
- Go to Settings tab
- Scroll down to Permalink Structure
- Enter your desired permalink structure there. For example: “/%category%/%post_id%” without the quotes.