RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/forum/(.*)$ RewriteRule ^Forum\.html$ forum/index.php [L] RewriteRule ^Zobacz-forum-([0-9]+)\.html$ forum/viewforum.php?forum_id=$1 [L] RewriteRule ^Zobacz-forum-([0-9]+)-temat-([0-9]+)\.html$ forum/viewthread.php?forum_id=$1&thread_id=$2 [L] RewriteRule ^Zobacz-cz-([0-9]+)-forum-([0-9]+)-temat-([0-9]+)\.html$ forum/viewthread.php?rowstart=$1&forum_id=$2&thread_id=$3 [L] RewriteRule ^Zobacz-forum-([0-9]+)-temat-([0-9]+)-post-([0-9]+)\.html$ forum/viewthread.php?forum_id=$1&thread_id=$2&pid=$3 [L] RewriteRule ^Zobacz-forum-([0-9]+)-temat-([0-9]+)-cz-([0-9]+)\.html$ forum/viewthread.php?forum_id=$1&thread_id=$2&rowstart=$3 [L] RewriteRule ^edytuj-forum-([0-9]+)-temat-([0-9]+)-post-([0-9]+)\.html$ forum/post.php?action=edit&forum_id=$1&thread_id=$2&post_id=$3 [L] RewriteRule ^odp-forum-([0-9]+)-temat-([0-9]+)\.html$ forum/post.php?action=reply&forum_id=$1&thread_id=$2 [L] RewriteRule ^odp-forum-([0-9]+)-temat-([0-9]+)-post-([0-9]+)-cyt-([0-9]+)\.html$ forum/post.php?action=reply&forum_id=$1&thread_id=$2&post_id=$3"e=$4 [L] RewriteRule ^nowy-temat-forum-([0-9]+)\.html$ forum/post.php?action=newthread&forum_id=$1 [L]