Recent Topics

UTF-8 Support Slug (urltitle)

Started by on Dec 24, 2016 – Contents updated: Dec 27, 2016

Dec 24, 2016 07:51    

hello friends
What is your solution for
UTF-8 Support Slug (urltitle) for posts/cats?

http://b2evolution.net/blog/ {utf-8 this part }

for example:

http://b2evolution.net/blog/天堂/
http://b2evolution.net/blog/بهشت/

screenshot:
https://i.imgsafe.org/e1882390a9.png

How is this possible?
Or should I go back to what file/class/functions?

i changed ascii_general_ci to utf8_general_ci slug_title in evo_slug database table
and post_urltitle in evo_items__item table

But not just yet
thanks

Dec 27, 2016 09:31

Hi, @dariush.barsam ,
I think it is not easy for us to change the slug to UTF-8 directly, for we may need rewrite the .htaccess file, but it's not easy. Also if there is a simply way to do this, the code engineer would no need to change the title from UTF-8 to the type of 'title-{number}' .Still, I have a way to change the Chinese character to phonetic transcription. Please see the topic: http://forums.b2evolution.net/v-6-6-7-two-places-which-can . May be this can help you or give you an idea.


Form is loading...

multi-blog engine – This forum is powered by b2evolution CMS, a complete engine for your website.