Category Archives: Subdomain

Redirect Subdomain of domain1 to subdomain of domain2

For example if we need to redirect to to and to Use #RewriteCond %{HTTP_HOST} ^(.*)$ [NC] #RewriteRule ^(.*)$$1 [R=301,L] but if we dont want to redirect to and only the subdomains then use Use the following code RewriteCond %{HTTP_HOST} ^(.*)\.sio-india\.org$ [NC] RewriteRule ^(.*)$$1  [R=301,L]

Also posted in htaccess, SEO | Tagged , , | Leave a comment