I had the same problem – I found the rules in Apache modsecurity that include a set of exclusions for WordPress didn’t cover /network/site-settings.php
, so I could do everything except edit sites in my multisite setup.
In the file /usr/share/modsecurity-crs/rules/REQUEST-903.9002-WORDPRESS-EXCLUSION-RULES.conf
I added the following lines:
SecRule REQUEST_FILENAME "@endsWith /wp-admin/network/site-settings.php" \
"id:9009999,\
phase:1,\
pass,\
t:none,\
nolog,\
ctl:ruleRemoveById=941140,\
ctl:ruleRemoveById=941160,\
ctl:ruleRemoveById=942190,\
ctl:ruleRemoveById=942240,\
ctl:ruleRemoveById=942240,\
ctl:ruleRemoveById=980130,\
ctl:ruleRemoveById=949110"
…it’s my first experience of editing modsecurity rules, so there is probably a better way of doing it – but it worked.
Related Posts:
- Multisite Network Port Num Issues?
- How do I transition multiple installations to a single Multisite installation?
- WordPress Multisite with multiple domains using Nginx
- Multisite behind Varnish
- Generate WP-CLI @alias for each site on multisite
- Sub-directory blog on a sub-domain WordPress network site
- Broken image multisite
- Hide root site in Multisite install
- Subdomain and subdirectories together in one installation
- Alias domain to Multi-site installation in Apache
- Does WordPress MultiSite use separate MySql databases?
- WordPress with Lan and Wan Access?
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- What are good approaches to routing some urls to a second WordPress install?
- Multisite on single wordpress
- Problem with new Multisite Installation
- Error Message when logging into WordPress on Xampp
- Why the sites dropdown in multi-site installation is different from the list of sites when seen full page?
- Programmatically create blogs with dummy content on a WPMU site
- How to individually set WP_DEBUG on a sub-directory multisite?
- Create multiple subdomains for multi-site from a database
- How to map a specific multi-site blog to a folder?
- 4 single sites VS multisite wordpress
- multisite htaccess 301 redirects
- using 1 form shortcode (si or cf7) for all multisite sites [closed]
- How to manage multiple domain with different languages on each domain with single wordpress installation?
- Is there any fundamental difference in developing a wordpress multi-network site?
- merging two multisites
- Redirect loop (only for multisite network admin)
- favicon and multi site
- Deleting a user in multisite
- Recover from failed multisite conversion
- Cookie nonce is invalid – Multisite
- Multisite setup on VVV with bedrock
- Trouble with switch_to_blog()
- How can I delete a user from entire multisite nework
- Using A Shared/Common Theme Across Multiple Sites
- Activate Child Theme with Codex
- Multisite Network Localisation
- Can set_transient() be used in multi-site?
- What would you recommend for hosting 10+ individual wordpress websites?
- Redirect only posts to New Domain
- Image problem – Multisite image upload broken
- add_rewrite_rule on multisite doesn’t work
- web.config breaks the themes for sub-directory multisite
- Add a user to a specific blog when they register?
- Redirect & permalink problems after moving multisite to a new server
- Different use for WordPress Multisite
- Multisite User Sync Question about blog authorship
- WP-CLI cron on multisite using WP-Toolkit “succeded”, but callback not executed
- WordPress multisite suddenly malfunctioning
- Cannot use pre_set_site_transient_update_themes from within a theme in multisite
- Login problems on multisite installation with different domains
- Multisite wordpress config on multidomain
- Is this a job for WP MultiSite with domain mapping plugin?
- FeedWordPress duplicated posts problem
- WordPress MU subdomain vhost
- Domain mapping with Multisite links are wrong
- Install multisite wordpress on a subdomain and map to top level domains
- Get latest blog post from another multisite blog
- How do I stop exactly one blog from network ever setting cookies?
- How to use different domains subdomains in WP multisite? [duplicate]
- Delete all user’s meta without knowing all the ‘key’
- Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)
- How to modify wp_config file for set up subdirectory?
- Sharing users across multiple sites, each on their own database
- Activation Account Email
- Stylesheet and JS linking error in WP multisite nested path
- Can I run multiple blogs from my local machine
- How to automatically translate plugin using translate.wordpress.org
- May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?
- Multisite htaccess file causing segfault (Segmentation fault 11)
- How do I export a single site in a multisite content without using a plugin? The default WP export does not catch all
- Multisite Smtp Server
- Images uploaded after adding multisite do not get loaded in any domain of the multisite network
- Migrating from domain mapping plugin to native domain mapping
- When hooking wp-cron to system
- WordPress network, add extra directory to subsite urls
- Register a user only to the root blog – WP Multisite
- Update Same Contents on every Page
- WooCommerce API Returns 401
- Define default settings for new sites on multisite network with mu-plugin
- Multisite + wp_mail – Route Via Site Conditionally
- WordPress automatic Login on other page?
- Multisite: How to bypass wpmu_signup_user_notification and add my own notification logic?
- MU domain mapping without using a plugin
- Multisite authorization error 401
- Multisite Demo Data for New Site
- How create a multisite setup with “phantom” accounts and passwords?
- is there a if multisite have posts function?
- Multisite – mix sites that use subdomains with sites that use paths
- How to apply specific plugins to affect all sites (Multisite Network)
- Primary site file uploads failing, subdirectory subsites upload fine
- Subdomain Wp-Admin Not Found
- Pick your brain on wp-config.php if statement for multisite
- first load of the page gives 404 error
- WordPress Multisite restict user access
- WordPress Multisites
- The wpmu_blogs_columns filter is not working
- Map WP Multisite blog.example.com to anotherdomain.com/blog?