I know this isn't php specific, but I can not for the life of me get a mod_rewrite rule written. It's driving me nuts, so I'm really hoping someone can help out. (I'm terrible with mod_rewrite rules, so please bear with me if this is super simple).
I basically had a manufacturer of a product we use to drive customers to the web hard-code the URL wrong on the product. So I need:
http://mysite.com/directory1/directory2/?UBM=10057
rewritten to
http://mysite.com/directory1/directory2/index.php?UBM=10057
As you can see they basically forgot the "index.php" in the hard-coding.
And I can put my .htaccess file inside directory2 so I don't really need to worry about the URL before that....
thank you so much if you can help!