Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Products URL:


watercolourman

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...