Code: Alles auswählen
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^shop/(.*)/(.*)/(.*)/(.*)\.php$ http://www.shop.de/anzeige?kategorie=$1&subkat1=$2&subkat2=$3&id=$4 [R=301,L]
Code: Alles auswählen
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^shop/(.*)/(.*)/(.*)/(.*)\.php$ http://www.shop.de/anzeige?kategorie=$1&subkat1=$2&subkat2=$3&id=$4
Hat jemand eine Idee, was ich falsch mache?