Jump to content
Sign in to follow this  
Gideon So

Non ASCII character page name

Recommended Posts

For now, if a site needs non ascii page name, there are two setting needed to be set:

  1. $config->pageNameCharset = "UTF8"

This is OK.

  1. $config->pageNameWhitelist = "A very long Chinese Character List"

It is very hard to put all the Chinese character there. I always get complaint from my client that they find missing character in the url.

Then I have to add that character manual. This is very painful and troublesome.

If there is another way to whitelist all the non-ascii character would be a big plus to ProcessWire multi-language support.

Forum thread: https://processwire.com/talk/topic/12776-pw-3012-support-for-extended-utf8-page-namesurls/?page=2&tab=comments#comment-146652
 

Feature request: https://github.com/processwire/processwire-requests/issues/393

If you think this feature is essential to you, please consider to up-vote the request to draw attention to Ryan.

Thanks.

Gideon

Share this post


Link to post
Share on other sites
$config->pageNameWhitelist = '';

This should allow everything that gets past .htaccess. It will only remove some characters explicitly blacklisted in the core.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...