mod_rewrite unicode problem

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

mod_rewrite unicode problem

Postby thetranslator » Sat May 03, 2008 10:47 am

Hello!

I'm new here! :D

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.
thetranslator
 
Posts: 1
Joined: Sat May 03, 2008 10:29 am
Location: Piraeus, Greece

Advertisement

Postby dcz » Tue May 06, 2008 12:35 pm

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 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests