Wordpress login fail after .htaccess domain redirect
Posted
by
Gayan
on Super User
See other posts from Super User
or by Gayan
Published on 2010-12-28T10:53:19Z
Indexed on
2010/12/28
10:56 UTC
Read the original article
Hit count: 247
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.
© Super User or respective owner