phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Problem with Hebrew encoding.

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
bizarre



Joined: 14 Mar 2008
Posts: 2

Problem with Hebrew encoding.Posted: Fri Mar 14, 2008 9:33 pm    Post subject: Problem with Hebrew encoding.

Since in hebrew you have completely different characters none of the encodings that htmlentities supports it.
either it shows something like this

Code:
/eaiia-iuceiei-ae-eth-nu-iuocau-iae-eth-a-divide-n-t14315.html



or if i use UTF-8 it just removes the hebrew characters and leave only numbers.

Is there a way around it?
for hebrew we use cp-1255 or ISO8859-8.
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

Problem with Hebrew encoding.Posted: Sat Mar 15, 2008 10:20 am    Post subject: Re: Problem with Hebrew encoding.

And welcome Very Happy

So, multibyte characters are really problematic when it comes to URL. The main problem being the browsers, because there's not much we can do about it (servers can be configured upon specific needs).
Some will be able to deal with straight utf-8 chars in urls, others, such as FF will url_encode() them.

We originally started to work on this matter with Persian, but it's the same with Hebrew, Cyrillic, Chinese and so on.
The most we can do is to filter these chars and eventually only inject the a-z chars after we filter accents. And this is handled by default only for char-sets supported by htmlentities.

So basically, title injection is only useful if your forum does use some Latin characters on a regular basis, which can be for example the case for a technical support forum, since technical terms can still be using the Latin char set, like CSS, HTML, php, etc ...

Otherwise, the simple mod rewrite is the way to go, since it will do a faster job for the same result : no injection.

AmirAbbas website is a good example of a technical forum taking advantage out of the partial title injection : http://forum.persia-cms.com/

As you can see a forum named :
Code:
بخش php و MySQL

will end up with :
Code:
php-mysql-vf7.html in the url


So to conclude, if your forum could take advantage of some partial injection in url, and since the two char-set you are currently using are not handled by htmlentities, you need to go for utf-8 (it's not so easy with phpBB2).

The easiest way to do so probably is to convert to phpBB3 since utf-8 is the only char-set and the converter will do all the conversion for you.
It's as well the easiest way to install all of our mods at once, since we maintain an SEO premod for phpBB3.
This would as well allow you to have greater control over your forum URLs (phpBB3 mod rewrite are way more advanced than the phpBB2 ones) and to only deal with a single massive redirect (no need to redirect from your current url to phpBB2's before you redirect again to phpBB3's).

All together this is making phpBB3 a better solution in all case IMO.

Or, you can install the simple mod rewrite, and keep the same url when you eventually convert later.

Wink

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
bizarre



Joined: 14 Mar 2008
Posts: 2

Problem with Hebrew encoding.Posted: Sat Mar 15, 2008 12:57 pm    Post subject: Re: Problem with Hebrew encoding.

Thank you for the reply, but yes i've read the persian topic and allready when i set the charset to utf-8 it removes all hebrew characters and i see only latin letters, but problem is i have no use for it Sad

So i thought maybe there is other solution.

Moving to phpbb3 is not possible since we will probably integrate our phpbb forums into phpnuke and that will create whole new problem for the url rewrite.

I'll try the simple and see the results.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: