Assuming you are looking to redirect......>>
Code:
http://example.null/clanok/blog_obsah/id/32
redirecting to
http://example.null/index.php?clanok=blog_obsah&id=32
AND
Code:
http://example.null/clanok/blog_obsah
redirecting to
http://example.null/index.php?clanok=blog_obsah
The simple way (and I've not tested it for major caveats) would be:
Code:
RewriteRule ^clanok/(.*)/(.*)/(.*)$ index.php?clanok=$1&$2=$3 [L]
RewriteRule ^clanok/(.*)$ index.php?clanok=$1 [L]
NOTE THE ORDER OF THE RULES IS IMPORTANT! If you place them the other way around, it won't work.