Answers for "301 redirect only by subdomain"

0

301 redirect subdomain to domain

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ http://domain2.com/$1 [L,R=301,NC]
Posted by: Guest on January-21-2021

Browse Popular Code Answers by Language