Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating a sub folder within the catalog folder for static pages


Jordancquestor

Recommended Posts

Posted

Hi There,

 

I am adding static pages to my online shop and I want to keep these pages within a seperate folder in both the root catalog directory and the includes/english folder.

 

Apart from convience, I need make some of my static pages URL appear like the following: http://www.mysite.com/catalog/directory/staticpage.php.

 

The reason for doing this is that I am going to add a google custom search and I only want it to search pages from files within this folder. I currently have the files containing the text located in a seperate folder within includes/english but need to do the same sort of thing in the catalog root folder.

 

I cant seem to find anything on the net to help me so if anyone has any ideas or can point me in the direction of some help I would be very grateful

 

Jordan

Posted
Hi There,

 

I am adding static pages to my online shop and I want to keep these pages within a seperate folder in both the root catalog directory and the includes/english folder.

 

Apart from convience, I need make some of my static pages URL appear like the following: http://www.mysite.com/catalog/directory/staticpage.php.

 

The reason for doing this is that I am going to add a google custom search and I only want it to search pages from files within this folder. I currently have the files containing the text located in a seperate folder within includes/english but need to do the same sort of thing in the catalog root folder.

 

I cant seem to find anything on the net to help me so if anyone has any ideas or can point me in the direction of some help I would be very grateful

 

Jordan

Don't know about the Google search, but if the pages are static and it sounds like you are only using english as your available language, why have anything about them in the includes/english folder?

Posted
Don't know about the Google search, but if the pages are static and it sounds like you are only using english as your available language, why have anything about them in the includes/english folder?

 

The reason for this is the page layout for each static page is located in the root directory and the text is in the english folder as possibly at a later date we may bring in other languages.

Archived

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

×
×
  • Create New...