Answers for "redirect subdomain to main domain"

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

Code answers related to "redirect subdomain to main domain"

Browse Popular Code Answers by Language