petra
04-24-2006, 10:07 PM
Hallo, vielleicht kann einer meine htaccess vervollständigen
####################################
RewriteEngine On
## Submit Anweisung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule submit.htm[l]? /submit.php [QSA,NC,L]
## neue Anweisung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule neue.htm[l]? /index.php?p=d [QSA,NC,L]
## top Anweisung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule top.htm[l]? /index.php?p=h [QSA,NC,L]
## search Anweisung
RewriteRule ^(.*).html* /index.php?q=%1 [QSA,L]
RewriteRule ^(.*).html$ /index.php?q=$1 [QSA,L]
##orginal
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]
##########################################
soweit funzt das ganze aber ich möchte auch die seitenzahl ersetzen
so zb:
http://meinedomain.de/rubrik/unterrubrik/2
oder
http://meinedomain.de/rubrik/unterrubrik/seite_2.htm
http://meinedomain.de/rubrik/unterrubrik/?p=2 gefällt den sumal nicht so doll
für jeden tip bin ich dankbar
Gruß
Petra
####################################
RewriteEngine On
## Submit Anweisung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule submit.htm[l]? /submit.php [QSA,NC,L]
## neue Anweisung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule neue.htm[l]? /index.php?p=d [QSA,NC,L]
## top Anweisung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule top.htm[l]? /index.php?p=h [QSA,NC,L]
## search Anweisung
RewriteRule ^(.*).html* /index.php?q=%1 [QSA,L]
RewriteRule ^(.*).html$ /index.php?q=$1 [QSA,L]
##orginal
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]
##########################################
soweit funzt das ganze aber ich möchte auch die seitenzahl ersetzen
so zb:
http://meinedomain.de/rubrik/unterrubrik/2
oder
http://meinedomain.de/rubrik/unterrubrik/seite_2.htm
http://meinedomain.de/rubrik/unterrubrik/?p=2 gefällt den sumal nicht so doll
für jeden tip bin ich dankbar
Gruß
Petra