Google

Accents in WordPress Permalinks

Written on:January 10, 2010
Comments
Add One

Just finished quite a bit of code tracing to figure out why accents are stripped from permalinks in wordpress. It all boils down to a sanitize_title filter (the function is sanitize_title_with_dashes) which calls remove_accents. I created a plugin which removes the ‘dashes’ function and replaces it with the same code except it doesnt call remove_accents.

Download PermalinksWithAccents Plugin

2 Comments add one

  1. Rubén says:

    Sabrías de algún plugin de hacer que un tema reconozca las “ñ”.
    Es que mi tema simplemente se las salta.

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>