Wordpress login fail after .htaccess domain redirect
- by Gayan
I use .htaccess to redirect requests to my (new) domain to another domain hosted on different server. The file contains:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^(www\.)?amazon40\.com [NC]
RewriteRule ^(.*)$ http://steamsigs.com/amazon40/$1 [R=301,L]
The redirection works fine. The home page is redirected to steamsigs.com/amazon40 and wordpress login page shows up correctly (steamsigs.com/amazon40/wp-login.php). But the acutual login process doesn't work. It does not show the control panel and keeps on redirecting to the login page. Could be that something's interfering with the GET/POST vars but I'm not sure about this.
I'd appreciate any your help to resolve this.