Can reduce the rewriteRule to one rule from multiple RewriteConds for 301 in htaccess?
Solution 1:
try this:
RewriteCond %{HTTP_HOST} ^Oldsite.local [NC, OR]
RewriteCond %{HTTP_HOST} ^Oldsite2.local [NC]
RewriteRule ^(.*)$ newSite.local%2 [L,R=301]
this will change the implicit logical and of RewriteCond
to a logical or.