Mam problem z mod_rewrite. W .htaccess mam coś takiego:
RewriteRule ^([0-9a-zA-Z-s]*).php$ index.php?article=$1&%{QUERY_STRING} RewriteRule ^tag-([0-9a-zA-Z-s]*),([0-9]*).html$ index.php?tag=$2&%{QUERY_STRING} RewriteRule ^tagi.html$ index.php?tagi
Problem pojawia się tutaj: RewriteRule ^([0-9a-zA-Z-s]*).php$ index.php?article=$1&%{QUERY_STRING}
Artykuł wyświetla mi się poprawnie, ale gdy wpisuje np. tagi.html to wyświetla mi też dane z index.php?article=
Chcę aby artykuły na stronie były w postaci artykul.php
Z góry dzięki za pomoc.