You would probably need to do this programmatically, for example add a PHP file to your /wp-content/mu-plugins/
folder with this:
<?php
add_action('init', 'modify_all_permalink_structures');
function modify_all_permalink_structures();
if (isset($_GET['modify_all_permalinks')) {
$structure="/%category%/%postname%/";
$sites = get_sites();
foreach ( $sites as $site ) {
switch_to_blog( $site->blog_id );
global $wp_rewrite;
$wp_rewrite->set_permalink_structure($structure);
$wp_rewrite->flush_rules();
}
restore_current_blog();
}
}
Then access yoursite.com/?modify_all_permalinks
to trigger it.
Recommend you do a full site backup first in case this is somehow insufficient. Remove the file when it has done it’s job.
Related Posts:
- How to eliminate permalink prefix in WordPress Multisite
- How to get blog id from permalink?
- Why I can’t change the permalink of this page?
- Multisite Network: How to change permalink structure programmatically on new blogs
- Why wordpress multisite root site showing blog prefix by force?
- Create unique alphanumeric ID on wp_insert_post
- WordPress Pages Redirecting to Root with WordPress Multisite (Sub-Directory)
- Stop Images Linking to Themselves?
- Is it possible to install WordPress Multisite on a subdomain with subdirectories?
- Visiting posts results in 404 errors after host migration
- /%post_name%/ or /%postname%/ in Permalinks?
- flush_rewrite_rules on MultiSite
- WP Multisite Subdirectory Custom Permalinks 404
- 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
- Pretty permalinks for search results with extra query var
- Does WordPress automatically do 301 redirect if I change permalink
- ‘post_type_link’ filter not working
- Update URL Snippet to Canonical Permalink URL
- Broken wordpress permalinks on pages only
- Change website URL without breaking links or images? WP 3.3
- Redirect user if it’s not logged in
- Random Alphanumeric Key URLs
- Add a css class to a taxonomy permalink
- Search result permalink
- Permalinks Structure and 404 Question
- Rewrite URL for results of a custom WP_Query
- Change permalinks with ACF values
- template_include not loading -instead goes to index.php
- Changing Custom Permalink with Filter
- WordPress installation in subfolder not working with nginx
- Confusion about how a URL is being parsed
- Clean install – Changing permalinks in twentyeleven give 404
- Adding page links to content that automatically convert to pretty permalinks?
- Need Help Correct Regular Expression Redirect Code
- issue with setting up permalink programmatically
- WordPress post-name permalink redirects to site.com
- Woocommerce subcategory 404
- WordPress always returning 404 page for a specific url
- WordPress Automatic Update to 3.9.1 breaks Permalinks [closed]
- Static Text in Permalink
- Pre-populate Slug / Permalink with URL
- Flush Rewrite Rules when new site is created on network
- Permalink changes gives me 404 [closed]
- How do I make 301 redirection from `/%post_id%/` to `/%postname%/`?
- Allow Permalinks to Work with and without Hyphens
- WordPress permlink is not working
- Problems with rewrite rule
- How to Custom Edit Post Title & Permalink Slug?
- Problem with parent page slug only in WordPress admin
- Broken wordpress site, non-working links and no access to wp-admin page
- How can I get the list of all pages URLs including their shortlink IDs?
- How do I remove /wordpress/ from my permalinks?
- “-2” Being added to end of URL (no duplicate pages, no pages in trash)
- Page found with “Plain” permalink but not with “Post name”
- Post Name Permalink setup gives 404 error inside sub-directory
- How to use Specific URLs for some posts
- Change permalinks for specific pages
- WordPress modify Settings > Permalinks (options-permalink.php) Add CPT Permalink Options
- Page redirect to 404 when set Permalink = “Post Name”
- How can you create a Permalink structure on a WordPress site?
- How to enable http (not just https) in wordpress?
- Multiple Tags Issue in Permalinks
- Is there a way to show attachment IDs on the attachment info screen?
- Keep permalinks in WordPress
- Auto Changing Text Case
- Need to capture “keyword” added to the end of the post, even with “pretty permalinks”
- Is it possible to change the permalink structure without changing the old permalinks to posts and without 301 redirects?
- Whole site’s pagination not working after rewriting product permalink
- Convert $ _GET to permalink
- Permalink blog page (only) not working
- Link to a page before launch
- How to redirect old permalinks to ones generated by [WP-Hashed-ID] plugin?
- WordPress project redirecting to a blank index.php when i use custom templates
- Update siteurl and home in multisite subsites to https
- Custom Permlinks work, regular page permalinks don’t
- How to redirect from old standard wordpress permalink structure to new custom one
- Rewrite posts url as they’re all children of a page
- wp_dropdown_categories links 404
- Permalink problem ( Blog posts vs custom post types)
- Two urls for one website
- Added incorrect rewrite rule now getting an error
- Keep wordpress from modifying my permalinks
- get_permalink wrongfully returns only year and month and not all the link
- Link to most recent child page
- Automatic -1 suffix being added to the permalinks of a page when the page does not exist
- Permalink Issue – Funny & Weird
- WordPress permalink still not working (error or not understood?)
- Pagination is not working, how to trace it properly?
- Problem when i configure permalink
- Files placed in directory with wordpress 404
- wordpress home is gone
- how to create several url aliases for a page
- Post URL not working according to permalink setting
- Strip category base from URL?
- Does the error “A structure tag is required when using custom permalinks.” mean my permalinks haven’t saved?