S simba New Member Nov 11, 2018 #1 Nov 11, 2018 #1 I have two domains, and I want to redirect one_domain.com to two_domain.com for all requests, while preserving the URL. How do I do this?
I have two domains, and I want to redirect one_domain.com to two_domain.com for all requests, while preserving the URL. How do I do this?
L lsqtwrk Administrator Nov 11, 2018 #2 Nov 11, 2018 #2 like normal apache way ? Code: RewriteCond %{HTTP_HOST} ^example.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]
like normal apache way ? Code: RewriteCond %{HTTP_HOST} ^example.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]