Jump to content

dont know where to ask this ?


Guest upirate

Recommended Posts

Guest upirate

I'll keep it simple.

 

I have a site with 3 navigation categories:

 

Cameras

  - Minolta

  -Canon

        -Ay67 Series

        -Ay65 Series

            -Ay6y advanced

 

All categories are stored in a DB and linked to each other

 

SO if a user clicks on Ay6y advanced: I want the url to say "sitename.com/Cameras/Canon/Ay65_Series/Ay6y advanced

 

 

 

I know this involves a possible rewrite rule. Im just not too good with them. Help will be appreciated. thankyou very much..and if I asked this at the wrong place..please forgive me.

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/45067-dont-know-where-to-ask-this/
Share on other sites

Guest upirate

I have the data in the database already

 

each category has a unique id and has a parent.

 

I guess I just need help with the rule so that if someone goes to sitename.com?id=7

 

well that takes them through the entire category system resulting in URL saying: sitename.com/category/sub_category/selected_category 

 

 

thanks for the reply man

 

 

Archived

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

×
×
  • 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.