Add the following to .htaccess:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} domain2.com [OR]
RewriteCond %{HTTP_HOST} www.domain2.com
RewriteRule ^(.*)$ http://www.domain1.com/$1 [L,R=301]
(Change domain1 and domain2 to your domains.)
- 0 Bu dökümanı faydalı bulan kullanıcılar: