RewriteRule ^(.*)$ https://example.com/summer/$1 [R=301]
You need to include the L flag on the RewriteRule directive, ie. [R=301,L] and ensure this rule is near the top of the .htaccess file, before the existing WordPress directives.
Without the L flag, processing continues and the request is further rewritten (by the WordPress front-controller) before the eventual (incorrect) redirect.
Related Posts:
- Sub-subdomain getting redirected to main domain
- WordPress Multisite – Multiple subfolders for blogs
- WordPress multisite subdirectory redirect infinite loop issue
- multisite htaccess 301 redirects
- Multisite wordpress and subdomain URL collisions
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Domain redirect in WordPress multisite
- Why wordpress multisite redirect to wp-signup if site exists?
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- How to disable the default WordPress redirect to non-www URLs?
- WPMU Development Environment
- 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
- Multisite – 404 when accessing sub-sites
- 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
- Multisite Redirection to new domains
- Multisite Subdirectory with same domain subdomain
- Redirect old uploads after moving to multisite
- Multisite, Subdomain, shared NFS directory Linux HELP
- Redirect to localhost after installing Multisite on server
- WordPress: how to change URL for individual MultiSites?
- Multisite install w/ Sub domains on a subdomain
- Multisite Subdomain Redirect Mask
- Cannot use Network Admin (Dashboard) on Multi-site after 301 www redirect
- Working with Reverse Proxies and Multisite Installation
- WordPress Multisite and how to apply sef urls only to specific sites
- 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
- Multisite WordPress Configurtion
- Multisite, different domains, optional subdirectory, and htaccess
- Redirect extra url to Multisite in folder
- External rewrite rules missing in htaccess – Multisite
- Make multisite non-existing subdomains go to homepage instead of Index of/ page
- Moving a WP Multisite to a subdirectory
- Create multiple subdomains for multi-site from a database
- WordPress Multisite. Can domain be used instead of subdomain?
- Multisite Subdomains result in 403 Forbidden
- Set subdomains live in a next step
- 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?
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- Multisite non-www domain redirects to sign-up
- Multisite non www domain gives registration error but should redirect to www.domain.com
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- Redirect loop (only for multisite network admin)
- WordPress Multisite Login Access
- Non-wordpress subdomains on Multisite Installation
- Possible to create a multisite network where the main site is non-WP?
- On WordPress Network(multisite), Sub Blogs in Subdirectories or Subdomains? What’s better?
- Multisite Subdomain Using More Resources Than Others?
- wordpress htaccess is hijacking my .mp4 files
- Change multi-site installation from sub-domains to sub-directories
- WordPress mutisite migration
- Multisite, multiple domains per site
- Multisite Network menu links not updating
- Auto Redirect after login
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Start with multi-site feature now or later?
- WordPress Multi-Site on Ubuntu 18.04 LAMP Keeps Re-Directing
- Create subdomain out of sight the wp multisite
- htaccess file for multiple CMS’s (multisite wordpress + wolfcms) on same domain but different subdirectories
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Redirect One Multisite to Another
- 301’s not working with multisite
- How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite
- One Domain, Two Installs of WordPress
- Hosting 2 WordPress websites in /public_html/ & /public_html/subdirectory/ at the same time
- When creating a multisite, the sub-folders option is not available
- How to Deny Access to No Referrer Requests on Multiste with Mapped domains
- Creating a subdomain network in a subdomain
- Should i install multiple wordpress for one site?
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- Subdomain is not working
- Multisite htaccess file causing segfault (Segmentation fault 11)
- multisite installed on subdomain now want another subsite on subdirectory
- WordPress Multisite loads wrong subdomain dashboard
- Multisite wp-admin redirecting to main wp-admin using NGINX
- WordPress Multisite with Wildcard Certificates not mapping correctly
- WordPress Multisite Network Subdomain
- How To Change the URL of a WordPress Multisite
- Admin user getting redirected to /wp-admin/user
- Subdomain Wp-Admin Not Found
- Is there a way to have wordpress 301 versus 302 urls by default?
- Some Subdomains on a Multisite Install Not Found
- Subdomain add comment redirect to 404 not found page iis server
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app
- 404 error in dashboard of subdomain of multisite
- Multisite subdomain microsite on secondary domain
- How do I test my WordPress subdomains on AWS during migration?
- Show 404 when someone visits a non-existant Multisite site
- WordPress: How to change name of ADD-ON domain’s folder and also change/rename all references to it