Verfasst: 16.04.2006 00:43
Dann poste doch deine .htaccess mal. Ich hab da schon ne Ahnung. Und sonst kann DIr sicher wer anders weiterhelfen.
Code: Alles auswählen
<Files config.php>
Deny from all
</Files>
DirectoryIndex index.php index.htm index.html
RewriteEngine On
# SEO URL [mgutt]
RewriteRule !\.html$ - [L]
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+)\.html$ /viewtopic.php?$1=$2 [L]
RewriteRule ^[a-z0-9-]+-f([0-9]+)\.html$ /viewforum.php?f=$1 [L]
RewriteRule ^[a-z0-9-]+-u([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [L]
RewriteRule ^([a-zA-Z0-9_]+),([^/,]+),([^/,]*)([^/]*\.html)$ $1$4?$2=$3 [QSA,N]
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ viewtopic$5?$1=$2&$3=$4 [QSA,N]
RewriteRule ^[a-z0-9-]+-f([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ viewforum$4?f=$1&$2=$3 [QSA,N]
RewriteRule ^([a-zA-Z0-9_]+)\.html$ /$1.php [L]
Code: Alles auswählen
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+)\.html$ /viewtopic.php?$1=$2 [L]
Code: Alles auswählen
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+)\.html$ /sport/phpBB2/viewtopic.php?$1=$2 [L]
Code: Alles auswählen
<Files config.php>
Deny from all
</Files>
DirectoryIndex index.php index.htm index.html
RewriteEngine On
# SEO URL [mgutt]
RewriteRule !\.html$ - [L]
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+)\.html$ /sport/phpBB2/viewtopic.php?$1=$2 [L]
RewriteRule ^[a-z0-9-]+-f([0-9]+)\.html$ /sport/phpBB2/viewforum.php?f=$1 [L]
RewriteRule ^[a-z0-9-]+-u([0-9]+)\.html$ /sport/phpBB2/profile.php?mode=viewprofile&u=$1 [L]
RewriteRule ^([a-zA-Z0-9_]+),([^/,]+),([^/,]*)([^/]*\.html)$ /sport/phpBB2/$1$4?$2=$3 [QSA,N]
RewriteRule ^[a-z0-9-]+-([pt])([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ /sport/phpBB2/viewtopic$5?$1=$2&$3=$4 [QSA,N]
RewriteRule ^[a-z0-9-]+-f([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ /sport/phpBB2/viewforum$4?f=$1&$2=$3 [QSA,N]
RewriteRule ^([a-zA-Z0-9_]+)\.html$ /sport/phpBB2/$1.php [L]
Code: Alles auswählen
RewriteRule ^/sport/phpBB2/[a-z0-9-]+-([pt])([0-9]+)\.html$ /sport/phpBB2/viewtopic.php?$1=$2 [L]
*grumpf*mgutt hat geschrieben: Wäre toll, wenn man da mal ein funktionierendes Muster bekäme