I'd like to rewrite:
http://www.example.com/item.html/category/something/something2 To :
http://www.example.com/item/something/something2 Thus getting rid of "category" and ".html"
I have tried:
#rewrite to remove "category" and ".html" RewriteEngine On RewriteCond %{REQUEST_URI} !^item.html/category/ RewriteRule ^item/(.*)$ /item/category/$1 [QSA,L]