Got a solution at – https://isabelcastillo.com/remove-blog-slug-multisite
In the root site of my directory base multisite, I went to Settings -> Permalinks
.
Then I change my permalink.
Then go the Network Admin -> Sites -> and clicked on Edit
Then switched to Settings
tab -> Now remove the blog
text from Permalink Structure
and saved.
This is not recommended. 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.
Related Posts:
- How to get blog id from permalink?
- Multisite Network: How to change permalink structure programmatically on new blogs
- Create unique alphanumeric ID on wp_insert_post
- WordPress Pages Redirecting to Root with WordPress Multisite (Sub-Directory)
- How to eliminate permalink prefix in WordPress Multisite
- Is it possible to install WordPress Multisite on a subdomain with subdirectories?
- flush_rewrite_rules on MultiSite
- WP Multisite Subdirectory Custom Permalinks 404
- Change permalink structure in all sites of a multisite
- 404 on wordpress multisite Permalink pretty URLs
- WordPress Multisite ABSPATH and get_home_path() to check for htaccess or web.config file
- In a multisite, how can I get posts from one site and display their permalinks in another site?
- Disable “similar permalink” redirect [duplicate]
- Parent/Child Relationships with Multisites?
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- Why is “/page/2/” not working?
- How does WordPress handle permalinks?
- Get page permalink without wpurl
- Can I use REST-API on plain permalink format?
- How to change ‘with_front” key from an existing custom post type?
- Why would Numeric permalinks work, but %postname% won’t?
- Passing variables through permalink structure
- Adding anchor to paginate_links + Safari anchor bug
- How to stop permalink redirects for a particular slug
- Why does WP not use relative links when linking pages?
- What is the action or filter for changing permalink in Edit Post/Page?
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Migrating WordPress blog to New Webhosts, something is adding a # and gibberish
- Is using %postname% for permalinks really that bad for performance?
- How to tranform Headlines into linkable permalinks?
- Best way to add internal link in widget
- Changing search URL to something other than “search”
- Changes to .htaccess not updating the file (old rules still take effect)
- article pages not displaying on local instance of wordpress site
- breadcrumbs & rel=”nofollow”
- Use Regular Expression to get tag from permalink url during wp_rewrite in generate_rewrite_rules
- Force pretty permalinks?
- WordPress get permalink function
- Site moved to HTTPS and loads as HTTPS but permalinks show as http
- WordPress Permalinks & Nginx Rewrite Rule Not Working
- Page and Category With Same Slug – Looking To Silo Website
- Override category permalink to match old non-WordPress links?
- Exclude / Blacklist Permalinks
- Point domain to different webhost’s subdirectory wordpress
- filtering special chars from post slug
- Default setting permalink /blog/
- How to change old permalink?
- Need help getting my Permalink structure right
- Losing preview ability: W3 Total Cache + Post name permalinks
- Get the url of a page template without using the page slug and ID
- How to show permalink auto when type text in post tiltle?
- Broken Link in WP Site?
- How to change “attachment_id” in attachment permarlink?
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- Custom permalinks in WordPress
- Permalink opens attachment instead of page
- How do I get thumbnail generator to recognize the_permalink tag?
- Changing WordPress routing to load the same page for different URLs
- Custom post type clean shortlink
- cannot link a external url, present page url acting as parent url
- the_content(); erroneously closing off previous opening before it
- Bulk append URL (add word to slug)
- Image URL and size
- Conditional Permalink based on category?
- Permalink Custom Page Template
- defining child page permalink
- permalink error when modifying sanitize_title_with_dashes function
- Browsing to permalink prefix results in 404
- Shortcodes not working
- Shortlinks work only for logged in users
- Does wordpress take care of slug collisions?
- WordPress permalink not working on subdomain
- Fatal Error when trying to load Permalinks page on WP admin [closed]
- How to construct a dynamic rewrite rule for child pages that passes more than one query var
- Add /blog prefix for all WordPress front end url
- Permalink structure has suddenly changed
- How to experiment with permalink structure on a select number of posts
- Bulk update set of URLs via SQL
- Custom permalink for one category
- rebuilding/ rewriting a url to make it SEO friendly
- Very strange behaviour related to htaccess and custom posts and custom posts substrings (BUG?)
- Permalink change during save of post
- Changed Permalinks settings, how do I redirect posts on Nginx?
- Choose permalink on a per-post basis?
- Single.php not loading when permalink only contains date information
- How to put articles under a /blog directory?
- Pretty permalinks (again)
- Imported posts using wrong domain name
- WordPress Archives Cause Looping
- Is there a way to add slug to home_url on this function?
- Customized author slugs not working with get_author_posts_url method
- Custom WP permalink structure
- region selection
- Redirecting From An Old Permalink Structure
- Include language variable in url
- Is it posible to translate a url prefix?
- Different template fallback when changing permalinks
- Creating custom permalink tags in the database
- Pages resolve at different URLs (different capitalizations)
- ‘Unsupported Operand Types’ error stemming from taxonomy re-writes with PHP 8.1