Try adding something like the following at the top of your .htaccess file:
RewriteCond %{HTTP_HOST} ^(www\.)?oldone\.com
RewriteCond ${REQUEST_URI} !^/wp-admin
RewriteCond ${REQUEST_URI} !^/wp-login
RewriteRule . http://newone.com%{REQUEST_URI} [R,L]
Make sure the browser cache is clear. Change to 301 (if that is the intention) only when you are sure it’s working OK.
Repeat for any other oldoneN.com / newoneN.com combos, unless there is a pattern with the domain names?
Alternatively, if you never want to redirect /wp-admin or /wp-login etc for any domain then you could include an exception for these URL-paths. Although that would probably interfere with some of the other MU directives.
Related Posts:
- WordPress Multisite – Multiple subfolders for blogs
- WordPress multisite subdirectory redirect infinite loop issue
- multisite htaccess 301 redirects
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Domain redirect in WordPress multisite
- Why wordpress multisite redirect to wp-signup if site exists?
- Sub-subdomain getting redirected to main domain
- How to properly force https and www on multisite with Apache HTAccess
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- How to disable the default WordPress redirect to non-www URLs?
- Redirect subdomain in Multisite installation?
- Issue with htaccess redirection in WP Multisite
- Redirect only posts to New Domain
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Temp URL Redirect Loop
- WordPress Multisite Strange Redirect on Primary Site
- Wrong Redirect/Rewrite Rules?
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- URL without www redirect directly with submission page – Multiwordpress install
- Redirect old uploads after moving to multisite
- WordPress: how to change URL for individual MultiSites?
- Multisite Subdomain Redirect Mask
- Cannot use Network Admin (Dashboard) on Multi-site after 301 www redirect
- Working with Reverse Proxies and Multisite Installation
- multisite 404 subfolder same name slug as site
- After switch domain, some parts of my site still point to my old domain
- How to make the redirects right? IP to domain name folders
- How To Change the URL of a WordPress Multisite
- Redirect extra url to Multisite in folder
- Multisite redirect loop for a single www domain
- External rewrite rules missing in htaccess – Multisite
- WordPress Multisite. Can domain be used instead of subdomain?
- Multisite Subdomains result in 403 Forbidden
- Nginx rules for subdomain multisite install (Bedrock)
- Protect Uploads in Multisite
- Changing Multisite URL after the subsite has been in use
- Redirect loop (only for multisite network admin)
- WordPress Multisite Login Access
- Jetpack Blog Subscriptions on Multisite [closed]
- Multisite without .htaccess
- Multiple Multisite networks on the same domain?
- Subdomain and subdirectories together in one installation
- Images uploading to wrong directory after changing to multisite
- Multisite Subdomain Using More Resources Than Others?
- wordpress htaccess is hijacking my .mp4 files
- Redirect subdomain homepage to domain specific page in wordpress multisite
- Multisite Redirect issue
- WordPress mutisite migration
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Multisite, can’t see sub blogs
- Multisite, multiple domains per site
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Multisite Network menu links not updating
- https redirect hell (adding www)
- Why my deleted url is redirecting to random post?
- Multisite on localhost using xampp
- add_rewrite_rule on multisite doesn’t work
- Redirect & permalink problems after moving multisite to a new server
- Installed domain-based Multisite but can’t access wp-admin (redirect loop)
- Multisite – 404 when accessing sub-sites
- Redirect Site Geologically
- How to configure Multisite Network with randomized hostnames?
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- .htaccess rules for blocking bots with an extra condition
- Wrong filepaths and admin page infinite reload after migrating to aws bitnami
- WordPress multisite .htaccess causes 500 error on old *.php URLs
- Site redirecting to http://example.com/wp-signup.php?new=example.com
- Run additional service on domain with WordPress Multisite?
- Redirect to localhost after installing Multisite on server
- How to host unrelated pages on WordPress domain
- Help with multisite redirect issues using Cherokee OR solid nginx config?
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- 301 Redirection After Comment
- Multisite configuration for multiple domains
- Multisite Redirect for Home Page Only
- 404 not working on main site on multisite
- How to redirect user after session timeout
- Moving wordpress multi to different domain and vhost – cannot log in and menu problems
- WordPress multisite installation subdomains not working properly
- Redirecting specific sites to HTTP in WordPress Multisite
- Rewriting request to another site
- Getting file errors in a WordPress Multisite ADMIN
- Multisite network admin login redirect
- WP Multi Site – configure Sub domain pointing to parent sub directory
- trying to install a wordpress multisite in a subfolder and have custom subsite urls
- Events Calendar Multisite 404 for events
- Create new multisite from existing and keep domain?
- new WPMS site not working / Q setting up new site/subdomain
- How to add WordPress site to multisite network when both are addon domains
- Redirecting two Multisite domains to Single site on different host
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- Multisite login and redirect to users main blog,
- WP Multisite .htaccess interferes with cgi-bin
- Redirect all users, except network administrators, from the main site to a subsite
- How to redirect author subdomain pages to each author pages on www
- Multisite move server giving redirect loop
- How can I set up a completely separate (not multisite) WordPress installation as a subdirectory of an existing WordPress blog?
- Redirect authors from upload.php url to Home page in Multisite
- How to redirect root blog to a specific one in multilang WP?
- Multisite website configure Domain issue