Opened 18 months ago
Closed 18 months ago
#19279 closed defect (bug) (duplicate)
Admin actions redirects to invalid domain with IDN-domains
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.3 |
| Severity: | normal | Keywords: | |
| Cc: | knut@… |
Description
I've got an international domain with an Ø in it (lets say it's kjøpting.no) and it works mostly great, except from some truly annoying admin redirects. It redirects to the domain, just without the IDN charachter.
For example, when you try to log in to the admin interface (at kjøpting.no/wp-login.php) it tries to access kjpting.no/wp-admin instead of kjøpting.no/wp-admin. If you add the ø to the URL, you get access.
It's the same for a lot of stuff like after installing plugins. It's possible to work around it by adding the IDN-charachter manually, but it's quite annoying and shouldn't be like this.
Change History (4)
comment:2
SergeyBiryukov — 18 months ago
comment:3
follow-up:
↓ 4
kristofferR — 18 months ago
Heh, that was the error. It works now.
However - shouldn't the two boxes either just support IDN domains or at least warn about not supporting it?
comment:4
in reply to:
↑ 3
SergeyBiryukov — 18 months ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Replying to kristofferR:
However - shouldn't the two boxes either just support IDN domains or at least warn about not supporting it?
Usually they're correctly populated in wp_guess_url() during installation.
We can probably convert them after manual changing too, let's focus on that in #10690.

Make sure WordPress address and Site address on General Settings screen are in Punycode: http://xn--kjpting-r1a.no.
Trying to log in to the admin then leads to kjøpting.no/wp-admin/ as expected.
I can only reproduce this if I type kjøpting.no directly in those fields, which isn't the right thing to do.