Hello,
described in my other thread: Rewrite Rule für Wordpress Blog
I need some Rewrite rule for my Wordpress Blog.
Thats my actual .htaccess:
The problem is:Code:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteRule ^download/patch/([^/]+)$ http://www.world-of-warcraft-patch.de/wp-content/plugins/download-monitor/download.php?id=$1 [L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
When i write a page in german the url is the following:
ht tp://w ww.world-of-warcraft-patch.de/2010/07/01/world-of-warcraft-cataclysm-client-download/
I use a Plugin to translate this german article in other languages e.g. in english:
ht tp://ww w.world-of-warcraft-patch.de/en/2010/07/01/world-of-warcraft-cataclysm-client-download/
That works perfekt, ONLY ONE PROBLEM! My Download links doesnt work in the translated versions because it also adds the language id e.g. "en" to the url.
ht tp://w ww.world-of-warcraft-patch.de/en/download/patch/27
Thats how a Download URL looks like, but its wrong it must be:
ht tp://w ww.world-of-warcraft-patch.de/download/patch/27
So i need a rewrite rule to redirect the wrong URLs to the right without language ID
Thanks for any help!


LinkBack URL
About LinkBacks





Reply With Quote
