htaccess and also 301 reroutes - multiple domains

I have the adhering to which reroutes and also to flawlessly.

RewriteCond %{HTTP_HOST} !^(.*)\.mydomain1\.com$ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

I am attempting to add an added regulation momentarily domain name, that will certainly reroute all non www website traffic for to

Many thanks!

2019-12-06 14:37:51
Source Share
Answers: 0