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


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

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


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
Posts: 21451
Joined: Fri Apr 28, 2006 9:03 pm

Return to phpBB mod Rewrite


  • Related topics
    Last post

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 19 guests