I have a script which generates following two types of links :
http://[something.com]/[any directory]/index.php?page=something
http://[something.com]/[any directory]/index.php?p=10
I want a .htaccess code which generates the :
http://[something.com]/[any directory]/index.php?page=something
link as
http://[something.com]/[any directory]/index.php/page/something
AND
http://[something.com]/[any directory]/index.php?p=10
link as
http://[something.com]/[any directory]/index.php/p/10
PLEASE HELP ME... THANK YOU