<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Zmieniam na:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)?(-f)([0-9]+)\.html ./index.php?showforum=$3 [L,QSA]
RewriteRule ^(.*)?(-t)([0-9]+)\.html ./index.php?showtopic=$3 [L,QSA]
RewriteRule ^(.*)?(-m)([0-9]+)\.html ./index.php?showuser=$3 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
I nie przekierowuje mi starych linków.
Po wpisaniu twardego hxxp://***.pl/index.php?showtopic=223 temat jest wyświetlany poprawnie.