watercolourman Posted May 16, 2007 Share Posted May 16, 2007 Good evening, I have been making some changes and now have a problem with my product URLs. As an example the product URL was: www.westcountrywatercolours.com/web_pages/painting-05.htm Now it has become: http://www.westcountrywatercolours.com/cat...painting-05.htm This does not go anywhere, it just hangs, it seems to be using some kind of redirect. I had been making alterations to the manufacturers box and other related scripts. I would be really grateful if someone could give me some help with this as I cannot click through to any of the exterior product pages now because of the way the URLs have become formatted. Regards, Brian Link to comment Share on other sites More sharing options...
dropdeadred Posted May 16, 2007 Share Posted May 16, 2007 You don't have any idea where the 'redirect' part came from? What 'changes' were you making? Link to comment Share on other sites More sharing options...
watercolourman Posted May 16, 2007 Author Share Posted May 16, 2007 Hi Dropdead Red, I added some manufacturers, then added them to the products but it wasn't what I wanted so I removed them all. Since then I have been having problems. Regards, Brian Link to comment Share on other sites More sharing options...
dropdeadred Posted May 16, 2007 Share Posted May 16, 2007 I'm only getting that redirect effect when I try to follow a link to more detail on a painting. How did you add those into the product description? Link to comment Share on other sites More sharing options...
watercolourman Posted May 16, 2007 Author Share Posted May 16, 2007 Hi Dropdeadred, If you take as an example WP05: The link inserted in the product details is: http://www.westcountrywatercolours.com/web...painting-05.htm and always has been and was working fine. Something following setting up manufacturers has caused the problem but what? Which part of oscommerce calls the redirect.php? Regards, Brian Link to comment Share on other sites More sharing options...
dropdeadred Posted May 18, 2007 Share Posted May 18, 2007 I've no idea - can you tell me how you inserted the links? Is it possible you can go into the product edit page and post the code you have for the product including that link? Link to comment Share on other sites More sharing options...
Guest Posted May 18, 2007 Share Posted May 18, 2007 Backup your catalog\redirect.php then edit it. add below this line: require('includes/application_top.php'); this: $new_url = htmlspecialchars(urldecode($HTTP_GET_VARS['goto'])); $HTTP_GET_VARS['goto'] = $new_url; Does it work this way? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.