RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/(.*)$ RewriteRule ^art\.html$ articles.php [N] RewriteRule ^art-kat-([0-9]+)\.html$ articles.php?cat_id=$1 [L] RewriteRule ^czytaj-art-([0-9]+)\.html$ readarticle.php?article_id=$1 [L] RewriteRule ^home\.html$ index.php [N] RewriteRule ^downloads\.html$ downloads.php [N] RewriteRule ^FAQ\.html$ faq.php [N] RewriteRule ^linki\.html$ weblinks.php [N] RewriteRule ^kategorie-newsow\.html$ news_cats.php [N] RewriteRule ^news\.html$ news.php [N] RewriteRule ^czytaj-news-([0-9]+)\.html$ news.php?readmore=$1 [L] RewriteRule ^kontakt\.html$ contact.php [N] RewriteRule ^galeria\.html$ photogallery.php [N] RewriteRule ^przeszukaj-forum\.html$ search.php?stype=f [N] RewriteRule ^szukaj\.html$ search.php [N] RewriteRule ^profil-([0-9]+)\.html$ profile.php?lookup=$1 [L] RewriteRule ^galeria-album-([0-9]+)\.html$ photogallery.php?album_id=$1 [L] RewriteRule ^galeria-foto-([0-9]+)\.html$ photogallery.php?photo_id=$1 [L] RewriteRule ^galeria-foto-powieksz-([0-9]+)\.html$ showphoto.php?photo_id=$1 [L] RewriteRule ^downloads-kategoria-([0-9]+)\.html$ downloads.php?cat_id=$1 [L] RewriteRule ^downloads-kategoria-([0-9]+)-inst-([0-9]+)\.html$ downloads.php?cat_id=$1&download_id=$2 [L] RewriteRule ^FAQ-kategoria-([0-9]+)\.html$ faq.php?cat_id=$1 [L] RewriteRule ^linki-kategoria-([0-9]+)\.html$ weblinks.php?cat_id=$1 [L] RewriteRule ^linki-kategoria-([0-9]+)-zobacz-strone-([0-9]+)\.html$ weblinks.php?cat_id=$1&weblink_id=$2 [L] RewriteRule ^przygotowanie-do-druku-newsa-([0-9]+)\.html$ print.php?type=N&item_id=$1 [L] RewriteRule ^przygotowanie-do-druku-arta-([0-9]+)\.html$ print.php?type=A&item_id=$1 [L] RewriteRule ^rejestracja\.html$ register.php [N] RewriteRule ^przypomnienie-hasla\.html$ lostpassword.php [N] RewriteRule ^forum/forum.\html$ forum/index.php [N] RewriteRule ^forum/zobacz-forum-([0-9]+)\.html$ forum/viewforum.php?forum_id=$1 [L] RewriteRule ^forum/zobacz-forum-([0-9]+)-temat-([0-9]+)\.html$ forum/viewthread.php?forum_id=$1&thread_id=$2 [L] RewriteRule ^forum/zobacz-cz-([0-9]+)-forum-([0-9]+)-temat-([0-9]+)\.html$ forum/viewthread.php?rowstart=$1&forum_id=$2&thread_id=$3 [L]