RewriteRule doesn´t work with language (404)

I´m searching since two days to find a solution but don´t find a solution!
I add just two to show the problem because I alway get a 404…
Would be great if anybody can help me with this problem.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^seefracht-spedition.htm http://www.sats-logistics.com/seefracht-spedition/ [R=301,L,NC]
RewriteRule ^luftfracht-spedition.htm http://www.sats-logistics.com/luftfracht-spedition/ [R=301,L,NC]
RewriteRule ^service-zollabwicklung.htm http://www.sats-logistics.com/service-zollabwicklung/ [R=301,L,NC]
RewriteRule ^lager-logistik.htm http://www.sats-logistics.com/lager-logistik/ [R=301,L,NC]
RewriteRule ^service-hafenabwicklung.htm http://www.sats-logistics.com/service-hafenabwicklung/ [R=301,L,NC]
RewriteRule ^umzug-spedition.htm http://www.sats-logistics.com/umzug-spedition/  [R=301,L,NC]
RewriteRule ^kontakt-sats.htm http://www.sats-logistics.com/kontakt-sats/ [R=301,L,NC]
RewriteRule ^standorte-sats.htm http://www.sats-logistics.com/standorte-sats/ [R=301,L,NC]
RewriteRule ^downloads.htm http://www.sats-logistics.com/downloads/ [R=301,L,NC]
RewriteRule ^impressum.htm http://www.sats-logistics.com/impressum/ [R=301,L,NC]
RewriteRule ^news.php http://www.sats-logistics.com/news/ [R=301,L,NC]
RewriteRule ^links.htm http://www.sats-logistics.com/links/ [R=301,L,NC]
RewriteRule ^daten/speditionsauftrag-luftfracht.pdf http://www.sats-logistics.com/download/speditionsauftrag-luftfracht.pdf [R=301,L,NC]

RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
AddHandler x-mapp-php5  .php

# BEGIN WordPress
<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

This URL I wan´t to add too:

RewriteRule ^en/index.php http://www.sats-logistics.com/en/ [R=301,L,NC]
RewriteRule ^en/ocean-freight.htm http://www.sats-logistics.com/en/ocean-freight/ [R=301,L,NC]
RewriteRule ^en/air-freight.htm http://www.sats-logistics.com/en/air-freight/ [R=301,L,NC]
RewriteRule ^en/custom-brokerage.htm http://www.sats-logistics.com/en/custom-brokerage/ [R=301,L,NC]
RewriteRule ^en/warehouse-logistics.htm http://www.sats-logistics.comen/warehouse-logistics/ [R=301,L,NC]
RewriteRule ^en/port-handling.htm http://www.sats-logistics.com/en/port-handling/ [R=301,L,NC]
RewriteRule ^en/moving-relocation.htm http://www.sats-logistics.com/en/moving-relocation/ [R=301,L,NC]
RewriteRule ^en/contact.htm http://www.sats-logistics.com/en/contact/ [R=301,L,NC]
RewriteRule ^en/locations.htm http://www.sats-logistics.com/en/locations/ [R=301,L,NC]
RewriteRule ^en/downloads.htm http://www.sats-logistics.com/en/downloads/ [R=301,L,NC]

Related posts

Leave a Reply

1 comment

  1. I´m searching since two days to find a solution

    You should have come to Stackoverflow earlier 😛

    Change order of your rules and remove starting slash:

    RewriteEngine On
    RewriteBase /
    
    RewriteRule ^luftfracht-spedition.htm$ http://www.sats-logistics.com/luftfracht-spedition [R=301,L,NC]
    RewriteRule ^en/custom-brokerage.htm$ http://www.sats-logistics.com/en/custom-brokerage [R=301,L,NC]
    
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]