Gideon So Posted March 6, 2021 Share Posted March 6, 2021 For now, if a site needs non ascii page name, there are two setting needed to be set: $config->pageNameCharset = "UTF8" This is OK. $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 Link to comment Share on other sites More sharing options...
Jan Romero Posted March 6, 2021 Share Posted March 6, 2021 $config->pageNameWhitelist = ''; This should allow everything that gets past .htaccess. It will only remove some characters explicitly blacklisted in the core. Link to comment Share on other sites More sharing options...
Gideon So Posted March 7, 2021 Author Share Posted March 7, 2021 Hi @Jan Romero, Thanks for your reply. It works. Thanks. Gideon Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now