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

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

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -