lundi 29 décembre 2014

wp-admin redirects me to http://./wp-login.php?redirect_to=…


I am migrating my WP website from staging to production and I have a problem with Dashboard access.


When I try to access http://<domain>/wp-admin.php it redirects me to http://./wp-login.php?redirect_to=http%3A%2F%2F<domain>%2Fwp-admin%2F&reauth=1.


I can login with going directly to http://<domain>/wp-login.php and I can go to any Dashboard page but cannot change anything (with Save button) without redirecting to http://./wp-admin/….


For example, if I want to change post content, I do it and hit Save button. Then I redirects to http://./wp-admin/post.php?post=20&action=edit&message=1. Then I go back and see that post changes are saved.


So what is broken: there is a dot . instead of my domain in redirect URIs.


Maybe it is because of cyrillic одиссейдом.рф domain?


Have I add some rewrite rules to fix it?





Aucun commentaire:

Enregistrer un commentaire