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.

  • Does it work when you remove the htaccess file? – BloodPhilia Dec 28 '10 at 10:58

Did you also change the site URL in the settings? WordPress needs correct settings for these, otherwise the login page on steamsigs.com will still do the post to amazon40.com and you'll never get the correct cookies set.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.