Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I go to mysite.net/wp-admin. Once I type in my username and pass word it redirects me to a blank page with address of

mysite.co.uk/wp-login.php?redirect_to=http%3A%2F%2Fmysite.net%2Fwp-admin%2F&reauth=1

I own both domains mysite.co.uk and mysite.net. in fact mysite.co.uk redirects to mysite.net

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.2k views
Welcome To Ask or Share your Answers For Others

1 Answer

Go to your database, and find the table called wp-option, then change the wordpress address and site address to mysite.net.

You can also add the following lines of code to the wp-config.php-file

define('WP_SITEURL','http://your-site-url.com');
define('WP_HOME','http://your-site-url.com');

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...