I’m trying to see if i am heading the best path for a website i am building. The site is about automobiles and i want to divide it by /Country/State/City/Dealership/MakeModel/
I’d like to have my URLs end up looking like that as well, but this is where i am getting lost. I’m not exactly sure how to build the url in EE so that they might turn out in that style.
My thoughts are as follows:
Template Group: /usa/ Template Name: /CarsByState/
Category Group / subcategories: /usa/FL/Tampa/ -> then the rest would be the post from the entries.
Do you think this is the best approach?
Personally I’d go for Dynamic Parameters using Channel custom fields to filter the data, but that wouldn’t give you the log URL’s you’re looking for.
Another alternative would be to populate URL’s with custom field values and use multiple parameters in the Channel entries tag.
{exp:channel:entries channel="cars"
search:state="{segment_2}"
search:county="{segment_3}"
search:city="{segment_4}"
search:make="{segment_5}"}Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.