Code: Alles auswählen
RewriteEngine on
RewriteCond %{REQUEST_URI} /(.*)-f([0-9]*)/(.*)-t([0-9]*)-s([0-9]*).html
RewriteRule (.*) /forum/viewtopic.php?f=%2&t=%4&start=%5&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} (.*)-f([0-9]*)/(.*)-t([0-9]*).html
RewriteRule (.*) /forum/viewtopic.php?f=%2&t=%4&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} /(.*)-f([0-9]*)/index-s([0-9]*).html
RewriteRule (.*) /forum/viewforum.php?f=%2&start=%3&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} /(.*)-f([0-9]*)/
RewriteRule (.*) /forum/viewforum.php?f=%2&%{QUERY_STRING} [L]