Форуми / Cotonti / Support / URL rewrite in different language ?

jamguy
#1 30.07.2011 01:46

 

Hi there,

First of all, I would like to thank everyone involved with the Cotonti project, after 6 years of Neocrome(seditio) experience, I was shocked to receive the ending message. But now, after using cotonti for couple of weeks, I must say that this CMS is the next thing, thumbs up!!!.

And now for the issue,

I succeeded to use the new URL rewrite system, and it works pretty good, I'm using it only for pages and categories.

My website is in Hebrew and I was wonder if it possible to use the easy url system to work with that language. When I tried to insert Hebrew in the "alias" filed, the DB didn't accept the non Latin letters, and the alias was empty.

I tried to tweak here and there with my basic php knowledge, but with no luck.

I will appreciate suggestions.

 

Thanks

Trustmaster
#2 30.07.2011 07:45

You're right, we just didn't take URLs in non-latin into account. It simply needs a different filter for aliases when adding/editing a page. You can download corrected versions from the latest development builds:

May the Source be with you!
jamguy
#3 30.07.2011 12:09

I'll give it a try, I'll keep you posted

Thank you very much !

Added 1 hour later:

Ok,

I installed the Genoa build.

I created a sample category with non-Latin word in the code, and the list.php?c=NONLATIN, works perfect !

Unfortunately, when adding a smaple page with a non-Latin alias, the url (page.php?al=NONLATIN) reaches the 950 error.

Checked the database, the alias is there with the correct encoding, so something is wrong with the alias translation.

Ideas?

 

Thanks


Відредаговано: jamguy (30.07.2011 14:01, 12 років тому)
Trustmaster
#4 30.07.2011 16:59

Yes, system/core/page/page.inc.php also needed filter change. Please redownload the package and replace that file.

May the Source be with you!
jamguy
#5 30.07.2011 18:57

Hi,

Thanks for the fast responde,

Everything works great now !!! both al=non-Latin" and c=non-Latin" works!!!

When setting the URL rewrite system though (option 4, folders layout):

1.domain.com/non-latin category - works !!!

2. doamin/non-latin category/non-latin page - doesn't works

3. getting 950 error on home page.

Is it a htaccess issue or something with the system itself?

I'll try to code some changes using the guide, I'll let you know if I'll fix it.

Thanks once again.