• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

mod_rewrite

M

Michael@

Guest
Hi,
i made an .htaccess in /httpdocs with this:


DirectoryIndex news.php

ErrorDocument 404 /404.php

RewriteEngine On
Options FollowSymLinks
Options +ExecCGI
RewriteBase /

RewriteCond %{HTTP_HOST} !^www.wallpaper-area.de$
RewriteRule ^(.*)$ http://www.wallpaper-area.de/$0 [redirect]

RewriteRule ^wa-([1234567890]*)\.php$ kategorie.php?KategorieNr=$1 [nocase,last]
RewriteRule ^wa-([1234567890]*)\.([1234567890]*)\.php$ kategorie.php?KategorieNr=$1&Start=$2 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)\.php$ galerie.php?KategorieNr=$1&GalerieNr=$2 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)\.([1234567890]*)\.php$ galerie.php?KategorieNr=$1&GalerieNr=$2&Start=$3 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)-([1234567890]*)-0\.php$ wallpaper_pre.php?KategorieNr=$1&GalerieNr=$2&WallpaperNr=$3 [nocase,last]
RewriteRule ^wa-([1234567890]*)-([1234567890]*)-([1234567890]*)\.php$ wallpaper.php?KategorieNr=$1&GalerieNr=$2&WallpaperNr=$3 [nocase,last]


But it do not work, can you help me what i did wrong?

Thanks

Michael
 
Back
Top