WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How allowed "--", "---" or any other symbol in terms(category) URL. Now WordPress replace from "--" to "-"

ps.I`m using to Subdomain plugin. And IDN subdomain Example: xn--...site.com/ There xn-- is category (url)

share|improve this question

The -- to an mdash conversion happens inside wptexturize() http://codex.wordpress.org/Function_Reference/wptexturize which is applied to many things (including taxonomy titles and other functions output.

Look for places you might want to remove the filter from in wp-includes/default-filters.php and remove the filter with the remove_filter() function: http://codex.wordpress.org/Function_Reference/remove_filter

share|improve this answer
I have changed Taxonimy before asked. This is wrong way. formatting.php Work comments line 930 //$title = apply_filters('sanitize_title', $title, $raw_title, $context); This is bad but worked decision – Onore Oct 15 '12 at 19:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.