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
- The wp-admin url for each site does not work on WordPress multisite
- How to use WordPress Multisite With Different Domain Names?
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- Redirect Main Site to Subsite in Multisite WordPress
- Setting up a wordpress network with third level domains
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- How will self-hosted WordPress work with Google Page Speed Service?
- multisite 404 error for subdirectory
- multisite: use a virtual subfolder for subblogs
- How to use alias domain for multisite installation?
- Multisite htaccess on localhost with WP as an SVN external?
- WP-Admin not working properly at WordPress multisite with subdirectories
- How to disable Multisite sign-up page?
- How To Provide Sub-Blogs Their Own Domain Names?
- WordPress Multisite. Can domain be used instead of subdomain?
- domain mapping confused about sunrise
- WordPress multisite,several different languages,page redirect?
- Multisite Subdomains result in 403 Forbidden
- Multisite: Develop locally using production images with .htaccess
- Multisite 404 errors and non-www redirecting to home page
- How to prevent hotlinking with htaccess in WordPress and why most common use about it doesn’t work?
- WordPress multisite with domain mapping and virtual host on local with fake domain
- Multisite wordpress and subdomain URL collisions
- Error 101 after upgrading WordPress
- Nginx rules for subdomain multisite install (Bedrock)
- Protect Uploads in Multisite
- Redirect all users, except network administrators, from the main site to a subsite
- How to use Multiple-Domains in one Multi-Site Installation?
- Basically the opposite MultiSite URL question that most people ask
- Multisite wp-admin redirect loop
- Multisite non-www domain redirects to sign-up
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- Suppress subdirectory from WordPress Multisite primary URL
- Multisite – Redirect All Users to Subsite Home Page on Subsite Login
- Multisite non www domain gives registration error but should redirect to www.domain.com
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- Changing Multisite URL after the subsite has been in use
- Redirect loop (only for multisite network admin)
- 500 error when using virtual host
- WordPress Multisite Login Access
- Jetpack Blog Subscriptions on Multisite [closed]
- WordPress multisite htaccess
- Multisite without .htaccess
- How do I use different domain for subdomains in WP Multisite?
- Multiple Multisite networks on the same domain?
- Subdomain and subdirectories together in one installation
- .htaccess 301 vs. 302 Enforcing HTTPS
- Images uploading to wrong directory after changing to multisite
- Members area with externally-managed htaccess / htpasswd authentication?
- How to configure DNS If I use the plugin yet-another-multi-site-manager?
- Multisite Subdomain Using More Resources Than Others?
- Multisite network admin – URL / redirect error
- wordpress htaccess is hijacking my .mp4 files
- Alias domain to Multi-site installation in Apache
- Redirect subdomain homepage to domain specific page in wordpress multisite
- WordPress multisite subdirectory on nginx behind reverse proxy
- Multisite Redirect issue
- WordPress multisite with multiple parent domains
- WordPress mutisite migration
- Dissolve Multisite while making site #5 the main site?
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Disable domain redirect
- Redirect users on logout
- Multisite, can’t see sub blogs
- Multisite, multiple domains per site
- Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help