I would like to add special Hungarian characters to slug. Also in the slug of the post, and in taxonomy. . Eg "kér", "ács" etc. This slug then applied also in the URL. Is this possible?
-
did you try it?– SisirCommented Mar 18, 2015 at 5:47
-
Yes. WP removes special characters. Eg. 'zér-zör' will be replaced with 'zer-zor'.– BatyuvitezCommented Mar 19, 2015 at 7:30
-
That's what I looked for: wordpress.stackexchange.com/questions/50533/…– BatyuvitezCommented Mar 26, 2015 at 5:34
Add a comment
|
1 Answer
Why you want to store this type of slug.If you store this type of slug and after some time when you edit any item from wordpress back-end,then it will update with its own slug.Better way is to store your slug as wordpress store itself..
-
Because my intention that my webpage redirect to these slugs. These characters are normal in our languages. Eg. http://ár.hu/szúr/ Commented Mar 19, 2015 at 7:27
-
you have one file from which you add this slug into table? Commented Mar 19, 2015 at 9:47
-
No. This should work as a normal slug. Eg. I write a post with a title: "Áron". WP should create the slug of the post : áron. The URL of my post should be: mydomain.hu/áron Commented Mar 20, 2015 at 11:09
-
Ok.you add the data from WP back-end and it store with its own slug name.And right now your webpage is not redirect to your slug? Commented Mar 21, 2015 at 5:00
-
When I save post, WP rewrites my slug "áron" to "aron", and redirects to mydomain.hu/aron. But I want to save my slug:"áron" and redirect to mydomain.hu/áron Commented Mar 21, 2015 at 5:29