Mod Rewrite with PHP question
Posted: Tue Oct 17, 2006 4:31 pm
Hello how would you write a .htaccess modrewrite to do the following.
I simply want to be able to form my urls like this:
http://www.domainname.com/item1/item2
and it will rewrite to do the following:
http://www.domainname.com/index.php?page=item1&id=item2
Can someone please tell me how to write this mod rewrite?
thanks!
I simply want to be able to form my urls like this:
http://www.domainname.com/item1/item2
and it will rewrite to do the following:
http://www.domainname.com/index.php?page=item1&id=item2
Can someone please tell me how to write this mod rewrite?
thanks!