You need to write an Apache redirect for all odd characters. The
problem with this is that you need to have a finite amount of
characters that are in use, or you need to list all "odd" characters.
In my wiki I had pages with parenthesis, so I used the following:
**********
RewriteEngine on
RewriteRule ^/wiki/(index\.php.*) /w/$1 [R]
RewriteRule (.*)%2528(.*)%2529(.*) $1($2)$3 [R]
**********
I hope that this helps,
Kasimir Gabert
On 9/4/06, Stuart Maxwell <stumaxis(a)gmail.com> wrote:
Okay, I'm scratching my head over this one; hope
one of you can help out.
So, this weekend, I upgraded my wiki and moved it up one directory level in
my domain. The new wiki works perfectly, and I placed a 301 redirect to
route any requests to the old wiki directory (/wiki/) to the base level of
the domain. This works fine except when redirecting page titles with
accents.
So, for example, I have the link:
http://thelouvertureproject.org/index.php?title=Sanite_Bélair
... which works fine. (This page is also redirected from a page title
without accents. That page title without accents redirects properly.)
Google still has the old link:
http://www.thelouvertureproject.org/wiki/index.php?title=Sanite_Bélair
... when clicked, that link is transformed to:
http://thelouvertureproject.org/index.php?title=Sanite_B%25C3%25A9lair
... and I get a "Bad Title" error page. (Which you can also see if you paste
the link above into your browser.)
I'm out of my depth here and my searches for help aren't turning up
anything, which tells me I don't even know what I'm looking for to fix. Can
anyone help me figure this out? Or, as this wiki doesn't have a ton of
Google juice, am I better off waiting for the links to be re-indexed?
Stuart Maxwell
theNewBig.com
TheLouvertureProject.org
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l