Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category listing (level 1) as home page


alougher

Recommended Posts

Posted

I've searched for this solution but cannot find it.

 

I need to set the home page (default.php) to a certain category (cPath=25). I cannot do this in my URL index (currently my root is /catalog/default.php) as you cannot pass parameters to it.

 

Basically, what I need to is:

 

Change:

 

www.hogplum.com - /catalog/default.php

 

to:

 

www.hogplum.com - /catalog/default.php?cPath=25

 

For the life of me I cannot find how to do this. Any help appreciated (as always!)

 

Thanks!

Posted

Figured it out:

 

Created index.php and put in it:

 

<?

Header("Location:http://www.hogplum.com/catalog/default.php?cPath=25");

?>

 

Then set that as my main index page and it loads the correct page with the top level category.

Archived

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

×
×
  • Create New...