Can not log in to Wordpress via Administrative interface when domain's name is non ASCII

Created:

2016-11-16 13:07:10 UTC

Modified:

2017-04-24 11:57:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Can not log in to Wordpress via Administrative interface when domain's name is non ASCII

Applicable to:

  • Plesk 10.4 for Windows
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. Domain was created with cyrillic name.

  2. When I try log in to Wordpress via Administrative interface it redirects me to:

  3. For Google Chrome browser: http://0.0.0.77/wordpress/wp-admin/

  4. For Firefox browser http://77./wordpress/wp-admin/

when the correct address is http://домен77.рф/wordpress/wp-admin

Cause

The root cause is that the 'siteurl' value is incorrect in wp_options table of Wordpress database :

mysql> select * from wp_options where option_name='siteurl';
+-----------+-------------+-----------------------------+----------+
| option_id | option_name | option_value | autoload |
+-----------+-------------+-----------------------------+----------+
| 1 | siteurl | http://?????77.??/wordpress | yes |
+-----------+-------------+-----------------------------+----------+
1 row in set (0.00 sec)

The issue is considered to be a software issue PPPM-626 and fixed since Plesk 12.0.18 MU#5.

Workaround

As a workaround it is possible to change 'siteurl' value manually with the following command:

mysql> update wp_options set option_value='xn--77-jlce8ahe.xn--p1ai' where option_name='siteurl';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

mysql> select * from wp_options where option_name='siteurl';
+-----------+-------------+--------------------------+----------+
| option_id | option_name | option_value | autoload |
+-----------+-------------+--------------------------+----------+
| 1 | siteurl | xn--77-jlce8ahe.xn--p1ai | yes |
+-----------+-------------+--------------------------+----------+
1 row in set (0.00 sec)

Where xn--77-jlce8ahe.xn--p1ai is a punycode represenation of "домен77.рф" domain.

Also it is possible to log in to admin interface of Wordpress using Upload theme link instead of Administrative interface:

Subscription > desired subscription > Websites & Domains > Wordpress > Upload theme
Have more questions? Submit a request
Please sign in to leave a comment.