Thrown to wp-admin.php after entering a comment when using IDN
-
My blog has an international domain name containing the letter ?. When I have both “WordPress Address (URL)” and “Site Address (URL)” set to vilmosk?rte.de (as it should be) a nasty problem appears after entering a comment to a post: the user entering the comment is sent to …/wp-admin/ and confronted with a login-screen instead of remaining on the post and seeing the freshly entered comment comment. This happens also when I disable all plugins.
I can fix this problem by changing the “Site Address (URL)” to the punycode version of the IDN, i.e. “https://xn--vilmoskrte-kcb.de”. Then the user remains on the post after entering the comment (the desired behavior). This is my current setting.
However, this rises other problems as many (but not all!) references in the html Head and Body to my blog then are issued with the punycode variant of the URLs, e.g.
…
<meta name="description" content="Was uns in diesen Tagen fehlt, ist eine Abkühlung. Vielleicht in Apulien, in Santo Spirito bei Bari?"/> <link rel="canonical" href="https://xn--vilmoskrte-kcb.de/2018/08/08/was-uns-in-diesen-tagen-fehlt/" /> <meta property="og:locale" content="de_DE" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Was uns an diesen Tagen fehlt … | Vilmosk?rtes Blog" /> <meta property="og:description" content="Was uns in diesen Tagen fehlt, ist eine Abkühlung. Vielleicht in Apulien, in Santo Spirito bei Bari?" /> ... <meta property="og:image:secure_url" content="https://vilmosk?rte.de/wp-content/uploads/2018/08/Santo-Spirito-DSC_6293.jpg" /> ... <meta name="twitter:image" content="https://vilmosk?rte.de/wp-content/uploads/2018/08/Santo-Spirito-DSC_6293.jpg" /> ... <link rel='shortlink' href='https://xn--vilmoskrte-kcb.de/?p=25363' /> <link rel="alternate" type="application/json+oembed" href="https://xn--vilmoskrte-kcb.de/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fxn--vilmoskrte-kcb.de%2F2018%2F08%2F08%2Fwas-uns-in-diesen-tagen-fehlt%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://xn--vilmoskrte-kcb.de/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fxn--vilmoskrte-kcb.de%2F2018%2F08%2F08%2Fwas-uns-in-diesen-tagen-fehlt%2F&format=xml" /> ...
Somehow it is a bit inconsistent. What can I do?
- This topic was modified 6 years, 3 months ago by .
- This topic was modified 6 years, 3 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Thrown to wp-admin.php after entering a comment when using IDN’ is closed to new replies.