

RewriteCond %{QUERY_STRING} ^$
RewriteRule ^$ https://www.cotidianul.ro/ [L,R=301]


RewriteCond %{QUERY_STRING} !(skip=1)
RewriteRule ^[A-Za-z0-9._\-]+-([0-9][0-9][0-9][0-9][0-9][0-9])/*$ redirect_https.php?id=$1 [L]


RewriteRule ^Cauta/$ cauta.php
RewriteRule ^[A-Za-z0-9._\-]+-([0-9][0-9][0-9][0-9][0-9][0-9])*/$ article.php?id=$1

RewriteRule ^([A-Za-z-]*)/$ category.php?cat=$1

RewriteRule ^template/(.*)$ /$1 [R=301,NC,L]