Kod
http://localhost/blog/templates/show.php?id=2
robie sa regulke modrewrite:
Kod
RewriteRule show,(.*)\.html show.php?id=$1
i wychodzi:
Kod
http://localhost/blog/templates/show,2.html
a jak zrobic, zeby wyszlo:
Kod
http://localhost/blog/show,2.html
czyli bez folderu /templates/ ?