Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Home page


amenra

Recommended Posts

If you are referring to when a user types in "www.mysite.com" they should see your catalog home page, then paste this code into your www.mysite.com/index.html (or .php, whatever it is)

 

<script language="JavaScript"> 
<!-- 
 window.location.replace('http://www.mysite.com/catalog'); 
//--> 
</script>

 

This will redirect users to your catalog without trapping them.

 

Change mysite.com to your own web address.

Link to comment
Share on other sites

The OTHER option if you want to load as www.mysite.com/index.php and not www.mysite.com/catalog/index.php then install as '/' and not '/catalog/'....Or MOVE everything from '/catalog/' to '/' or your web site root then CHANGE both configure.php file to match.

 

Good Luck

Link to comment
Share on other sites

Yes, the advatage is, if you use the Meta refresh, users will get trapped at your site. For instance, if they try to click "back" it will continue to try to reload the page, unless they click the back button really fast twice. Trapping users will make them very angry and unlikely to order from you.

 

The window replace will not trap users.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...