Beachdog Posted April 4, 2007 Posted April 4, 2007 Just switched from a PayPal solution to osCommerce, and am trying to redirect from the original product pages (in a domainname.com/pages/blah.html format) to osCommerce pages. Here's what I have in the .htaccess: RedirectMatch permanent ^/pages/cat_oldproductpage.html$ http://www.domainname.com/index.php?cPath=21_43_42 What I'm getting back is the following: The requested URL /index.php?cPath=21_43_42 was not found on this server. The page IS there; however, when I look at the address bar I see http://www.domainname.com/index.php%3fcPath=21_43_42 Apparently the question mark is getting changed to a %3. How do I resolve this? I searched far and wide and am not finding anything that mentions this problem, but I'm having a hard time believing that I'm the first to run into this. Thanks for the help.
kirikintha Posted April 4, 2007 Posted April 4, 2007 Hey there! Why are you adding in the cPath? The only thing I know for sure is redirecting to directories - it's urlencoding the result that's the problem. Nothing unreal exists
Beachdog Posted April 5, 2007 Author Posted April 5, 2007 I was trying to link to a product category, but even linking to a specific product is getting urlencoded. How do I prevent that urlencoding that is turning a question mark into a %3f? Thank goodness I'm bald, otherwise I'd be pulling my hair out.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.