Options +FollowSymlinks
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?eskidomain\.com
RewriteRule ^(.*)$ https://www.yenidomain.com [R,L]
Konu: 301 Yönlendirmesi Yapmak
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?eskidomain\.com
RewriteRule ^(.*)$ https://www.yenidomain.com [R,L]