I'm working on a site with both english and spanish locales. Crafts localization features have been awesome so far, and I've been embracing Craft's ability to easily localize URLs.

For example, if I have a section on conservation, the english url would be:


And the spanish one would be:


Am I going to run into any technical issues by allowing accented characters in my urls?

1 Answer 1


There is technically nothing wrong with using them in a URI since they are valid URI characters. Even multi-byte characters (Chinese, Korean, Japanese, etc.) are valid in the URI (i.e. domain.com/漢字漢字).

However, some people have requested that they not be allowed in the slug, so for the upcoming 2.2 release, we've added a config setting where you can disable the behavior and multi-byte characters are stripped and high-ASCII characters like ó are swapped with their low-ASCII counterparts (o).

I can't speak to any other non-technical reasons why they might not want to be used (SEO, etc.).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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