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  
 
   
mod_rewrite unicode problem

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



Joined: 03 May 2008
Posts: 1
Location: Piraeus, Greece

mod_rewrite unicode problemPosted: Sat May 03, 2008 10:47 am    Post subject: mod_rewrite unicode problem

Hello!

I'm new here! Very Happy

I installed the mixed seo url and everything works fine, apart from unicode topics!

90% of my topics are written in greek but there are still some with english characters.

So, what I want is to enable rewrite for my topics also. I have the ready made rules from the htaccess but they don't seem to work for unicode.

Can you please tell me how to modify eg this line -or maybe add a new one- so instead of

/viewtopic.php?f=19&t=51 to say
/viewtopic.php?title=%CE%9E%CE%AD%CF%86%CF%85%CE%B3%CE%B1%21+%CE%A4%CE%B9+%CE%BD%CE%B1+%CE%BA%CE%AC%CE%BD%CF%89%3B

or something similar which will include the unicode characters?

Also if there are mixed english and greek characters, is this possible to display both correctly?

Thanks in advance.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

mod_rewrite unicode problemPosted: Tue May 06, 2008 12:35 pm    Post subject: Re: mod_rewrite unicode problem

The problem is high bit characters will almost always be urlencoded, it's mostly a browser matter and all of them do not, as always, behave the same for this.

The ending point is it's impossible to make sure that high bit characters will always be properly displayed (not url encoded) in urls.

So of course, you could still allow straight injection, but as your example link, urls would end up being very very long when urlencoded.

So I don't think it's this good to do it.

As his, our url rewriting will only inject characters that are not problematic, after they are de-accentuated, others are skipped.

You can still use title injection, can be good for some forums (and the topic inside with virtual folder).

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: