We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

suggestions on best approach for a large scale website

Development and Programming

Robfletcher's avatar
Robfletcher
149 posts
14 years ago
Robfletcher's avatar Robfletcher

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?

       
Rob Allen's avatar
Rob Allen
3,106 posts
14 years ago
Rob Allen's avatar Rob Allen

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}"}
       
robbiegod's avatar
robbiegod
43 posts
14 years ago
robbiegod's avatar robbiegod

hmm, maybe I’ll try to make the urls shorter by making more template groups.

its a little funny which this is difficult to do.

Are there any other plugins out there free or paid that give you more control over the urls?

       
Tom Jaeger's avatar
Tom Jaeger
461 posts
14 years ago
Tom Jaeger's avatar Tom Jaeger

I would take a look at Structure. I Highly recommend it

http://buildwithstructure.com/

-Tom

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.