# Yönlendirilecek site
RewriteEngine On
# yönlendirilecek www.eskidomain.com
RewriteCond %{HTTP_HOST} ^www.eskidomain.com$ [NC]
RewriteRule ^(.*)$ http://www.yenidomain.com.tr/ $1 [L,R=301]
# yönlendirilecek eskidomain.com
RewriteCond %{HTTP_HOST} ^eskidomain.com$ [NC]
RewriteRule ^(.*)$ http://www.yenidomain.com.tr/ $1 [L,R=301]
# WordPress başladı
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# WordPress bitti
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress