Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why can't I get any redirect script to work?


kdrew098

Recommended Posts

Posted

Hi!

 

I'm trying to redirect users who type our URL to catalog/index.php. I've tried using .php, HTML, and Javascript. In each case, I get no error but the original page simply shows up (which is blank). The Javascript I used is below:

 

<script LANGUAGE="JavaScript">

 

<!-- Begin

redirectionTime = "0";

redirectionURL = "http://authenticprosports.com/catalog/index.php";

function redirectionTimer() { self.setTimeout("self.location.href = redirectionURL;",redirectionTime); }

// End -->

 

</script>

 

I've tried this with the full address and also as /catalog/index.php. Is there some reason having to do with OSCommerce? Or is there something else I'm doing wrong?

 

Many thanks,

 

Kevin Drew

Archived

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

×
×
  • Create New...