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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -