I want to use Apache mod_rewrite with a .htaccess file and to do this
the url
siteurl/index.php/product?pr=jjk4zi86NxVVRL&code=thecode
to be
siteurl/index.php/thecode/product?pr=jjk4zi86NxVVRL
How can I do that?