RewriteEngine on
RewriteRule ^dowcipy/dodaj.html$ /articles/addarticle/ [L]
RewriteRule ^sitemap.xml$ /sitemap [L]
RewriteRule ^skype/([0-9]+)-(.*).html$ /articles/show/$1 [L]

RewriteRule ^news.html$ /news/index/ [L]
RewriteRule ^news-([0-9]+).html$ /news/all/$1 [L]
RewriteRule ^news/([0-9]+)-(.*).html$ /news/show/$1 [L]
RewriteRule ^([0-9]+)-([0-9]+)-(.*)-([0-9]+)\.html$ /category/show/$1/$2/$4 [L]
RewriteRule ^([0-9]+)-([0-9]+)-(.*)\.html$ /category/show/$1/$2 [L]
RewriteRule ^([0-9]+)-(.*)\.html$ /category/show/$1 [L]

RewriteRule ^szukaj\.html$ /category/search/ [L]
RewriteRule ^szukaj-([0-9]+)\.html$ /category/search/$1 [L]

RewriteCond $1 !^(index\.php|swiftmailer|form.php|images|fckeditor|files|js|gallery|robots\.txt|admin\.css|style\.css|style1\.css)
RewriteRule ^(.*)$ /index.php/$1 [L]