url - .htaccess rewriterule accurate -
rewriterule ^([^/]+).html /index.php?sezione=$1 it should work right. there problem in rewriterule: in fact rewrite right:
www.example.com/index.php?sezione=hello www.example.com/hello.html but rewrite also, , shouldn't with
www.example.com/hello.htmlll www.example.com/hello.htmlfed and other string after html extension. how fix it?
i think want:
rewriterule ^([^/]+).html$ /index.php?sezione=$1
Comments
Post a Comment