Jump to content

Recommended Posts

I need some ideas/ coding suggestions for what I'm trying to accomplish.

 

Let's say I have a section called "Products" and within this section I have 30 different products. I don't have a DB. 

 

To avoid maintaining a page for each product every time I have to update something, I'm using a product "main" page where I include files for the left navigation, or content for the right of the page which changes based on the product category.  To include files based on categories I'm passing url variables through the links, which is how my main template knows what page to include.

 

This works fine, but I'm trying to figure out a better structure for including different files based on the product, where I don't have to pass url variables ... any ideas what options I have?

 

Passing url variables might hurt my SEO rankings but also it requires maintaining and updating and many links on this section.

with pure PHP, the only way to pass data from page to page is with cookies, sessions, and post/get variables. if you dont want to use get variables, I would suggest you use sessions, but beyond that you will probably have to find a non-php solution. i guess you could use cookies, but I dont know how useful cookies would be for this

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.