Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] RewriteRule ^admin/?$ admin/index.php RewriteRule ^sitemap.html$ sitemap.php RewriteRule ^links/([a-zäüößèà]+)/([0-9]+)/?$ link.php?action=$1&id=$2 RewriteRule ^links/([0-9]+)/?$ link.php?id=$1 RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1 RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2 RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1 RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2 RewriteRule ^([-_/\+A-Za-z0-9äüößèà]+)/?$ index.php?action=displaycat&catname=$1 RewriteRule ^links/([-_/\+A-Za-z0-9äüößèà]+)-([0-9]+).html$ link.php?action=detail&id=$2 RewriteRule ^/([-_/\+A-Za-z0-9äüößèà]+)-([0-9]+).html$ link.php?action=detail&id=$2