First one of your variations is the cleanest.
You can test your htaccess rewrite rules here:
https://htaccess.madewithlove.be/
Important thing about R=301, this means the redirection is permanent.
Related Posts:
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- Switching MultiSite installation from HTTP to HTTPS
- How to use WordPress multisite with mixed HTTP and HTTPS sites?
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Make default new sites https (multisite)
- Why wordpress multisite redirect to wp-signup if site exists?
- Multisite without .htaccess
- wp-admin redirect loop with ssl
- Multisite Redirection to new domains
- Domain Mapping for WordPress MU and https redirection – How to?
- Generate HTTPS Urls in multisite
- How to convert multisite subdomain from http to https
- WordPress Multisite keeps redirecting to HTTPS
- How To Change the URL of a WordPress Multisite
- How to use WordPress Multisite With Different Domain Names?
- Setting up a wordpress network with third level domains
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- What do I need to do to convert my MultiSite from HTTP to HTTPS?
- How will self-hosted WordPress work with Google Page Speed Service?
- multisite: use a virtual subfolder for subblogs
- SSL wildcard issue for wp multisite subdomains
- How To Provide Sub-Blogs Their Own Domain Names?
- domain mapping confused about sunrise
- WordPress multisite subdirectory redirect infinite loop issue
- Admin-Ajax.php, SSL, Non-SSL
- Nginx rules for subdomain multisite install (Bedrock)
- “Upgrade Network” error: stuck with SSL certificate verification
- Serve HTTPS requests from subdomain
- How to use Multiple-Domains in one Multi-Site Installation?
- Changing Multisite URL after the subsite has been in use
- 500 error when using virtual host
- Multiple Multisite networks on the same domain?
- .htaccess 301 vs. 302 Enforcing HTTPS
- Images uploading to wrong directory after changing to multisite
- Is Partial SSL Possible? ( multisite )
- How to modify the .htaccess to force ssl on login and admin pages
- Members area with externally-managed htaccess / htpasswd authentication?
- How to configure DNS If I use the plugin yet-another-multi-site-manager?
- Alias domain to Multi-site installation in Apache
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- Multisite, can’t see sub blogs
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- https redirect hell (adding www)
- Redirect subdomain in Multisite installation?
- Multisite installation not in root – how to make live?
- Multisite on localhost using xampp
- Multisite – 404 when accessing sub-sites
- How to use a Wildcard SSL with WordPress Network?
- WordPress Multisite Strange Redirect on Primary Site
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- .htaccess rules for blocking bots with an extra condition
- What happens if I use .htaccess of network multisite on a single site installation?
- Wrong filepaths and admin page infinite reload after migrating to aws bitnami
- URL redirect/rewrite rule wordpress multisite
- Multisite – Looking for ideas to best manage a main site change
- Migrating MultiSite to SSL: Media Library not updating
- Run additional service on domain with WordPress Multisite?
- WordPress: how to change URL for individual MultiSites?
- Multisite Create Site not working
- How to host unrelated pages on WordPress domain
- Locked out of admin and some pictures don’t show after failed SSL installation
- Network Admin URL is shown to anyone before accessing a blog
- Canonical Resource URLs Across a Multisite Network 2012?
- MULTISITE SUB-DOMAIN JUST SHOWS INDEX OF -> CGI-BIN INSTEAD OF SHOWING SITE
- Multisite Sub domains not working
- How Can I Change The Name Of My Subdomain in WordPress Multisite
- Missing images after moving servers
- Multisite Subdirectory Site Dashboard redirect loop
- Different Domains in Multisite Setup
- Multisite on single wordpress
- How do I correctly configure my AMPPS localhost to use subdomains for multisite?
- How can I map the primary domain for subsite as subdirectory for another domain?
- Update WP install to WP network & it broke the DB connection
- Serve theme and plugins assets from correct domain on multi-domain multisite
- multisite 404 subfolder same name slug as site
- Website creation for multiple clients but from a single account on multiple host name
- After switch domain, some parts of my site still point to my old domain
- multiple domains point to same site on WP-MU
- How to make the redirects right? IP to domain name folders
- Can I add a rewrite rule in htaccess to remove the multisite subdirectory from the URL?
- Can assign a new domain to a site in a multisite?
- Multisite domain mapping with SSL redirects to main domain
- Multisite issue
- Update siteurl and home in multisite subsites to https
- using htaccess to check for cookie on permalink then conditionall rewrite with query parameter
- Single sign on to sub-sites in Multisite Network
- Can’t access 2nd site (sub) dashboard of WordPress Multisite
- WordPress Multisite with cPanel Addon Domains and SSL
- WordPress Network with SSL for multiple domains
- Nginx rules for subdomain multisite install (Bedrock)
- Multisite /files/ URLs broken after server move
- Using www along with non-www for main domain in multisite installation
- No input file specified after enabling multi site
- Multiple domains for with a single instal
- Redirect WordPress MS to no-www version, excepting some dirs and prefixes
- Multisite redirect loop for a single www domain
- Multisite subdirectory blogs missing slash
- Nice font not working when http to https – SSL Issue
- Swap domains of two sites with each other in multisite
- 404 error in dashboard of subdomain of multisite