I face the following situation: after manually adding (in the backend) the terms with names (not slugs) Mânie
and Manie
, that differs only in an accent/diacritic (they are totally different words with totally different meanings), to a non-hierarchical custom taxonomy (tags), no matter what slugs were set (I tried the slug pairs minie
/manie
and manie
/manie-2
for that term names), when I try to set these terms to a post, also from backend, when I save the post Wordpress randomly accepts only one of them.
To summarize, the terms are (can be) created / added to the taxonomy, but cannot be added together to the post, one of which being randomly excluded while saving the post.
How can I fix this? I haven't found any useful information so far. The non-hierarchical custom taxonomy was added by a code, but I don't think that's the cause of the problem.
"Mânie"
or the slugMânie
? There are restrictions here that are the result of the way URLs work that directly impact the slug of a term or post. In theory there is no such thing asexample.com/category/Mânie
, URL's just can't have diacritics or accents, only a restricted subset of ASCII. Any situation otherwise is just your browser trying to be helpful and turning%
encoded values into their internationalised versions in the user interface