WordPress multisite htaccess redirection to new domain
RewriteCond %{HTTP_HOST} ^site.olddomain.com/wp-content/uploads/sites/2$ The HTTP_HOST server variable contains just the hostname (the value of the Host HTTP request header). It does not contain the URL-path, so the above condition is never going to match. But the site_id in new domain is 2. But your directive appears to be trying to do the opposite… checking for … Read more