Basit text dosyasi olusturun ve asagidaki kodu bu dosya icini yazin
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.yenidomain.com/$1 [R=301,L]
daha sonra dosyayi .htaccess adinda kaydedin/ daha sonra index dosyasinin bulundugu yere upload edin.
Not: Sadece Linux server ve Apache icin gecerlidir.
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.yenidomain.com/$1 [R=301,L]
daha sonra dosyayi .htaccess adinda kaydedin/ daha sonra index dosyasinin bulundugu yere upload edin.

Not: Sadece Linux server ve Apache icin gecerlidir.