The most important thing for me is implementing friendly urls in a way that will work with future versions of EE and follow best practices.
Could an experienced EE user please direct me to a proper solution and give me a short explanation as to the WHY?
Thank you,
Josh
Experienced is a big word, but I’ve been using EE a couple of years now.
Any EE-url is build with the following segments:
http://www.somesite.com/template-group/template/entry_title
Of course you can name any segment exactly as you want. For instance:
http://www.moviedatabase.com/actors/female/angelina_jolie (just an url I made up!)
Each actor (Angelina Jolie) will be an entry with it’s own specific entry_title (angelina_jolie). If you want you can change any entry and therefor adjust the last bit of each url for friendly url’s.
Within each entry you can use custom fields or categories to decide she’s a female. If that’s what you need, you can use your “female” template you make sure all entries which are marked as female are shown.
Besides the “female” template, you will probably have another template called “male”. You can list all male actors within this template. For instance: http://www.moviedatabase.com/actors/male/jack_nicholson
To organize all related templates, you create a template group. In this case it’s called actors. Because that’s what you need. But I can imagine for a moviedatabase you’ll have more template-groups. One might be called movies.
By using template_groups/templates/entry_titles you are able to create any url structure you want. Just make sure you choose your template_groups and templates wisely.