ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Advice on initial page setup

July 02, 2012 9:05am

Subscribe [2]
  • #1 / Jul 02, 2012 9:05am

    billuk

    2 posts

    Hi everyone,

    I am just starting out with EE, and I like results it can achieve.

    I am in the process of converting an old, reasonably sized site with static pages into EE.

    It currently has articles in the format:

    http://www.example.com/articles/index.php
    http://www.example.com/articles/category_name/index.php
    http://www.example.com/articles/category_name/article_title.php

    My solution thus far, is as follows:

    1. Create an ‘articles’ channel.
    2. Create a ‘articles’ template group.
    3. I have created a template called ‘category_name’ which embeds a different template ‘controller’ (as all categories will behave the same).
    4. The ‘controller’ template uses segments to determine what’s being requested and either embeds an article template or embeds an article index template.
    5. The ‘article’ template starts out like this:

    {exp:channel:entries channel="articles" url_title="{segment_3}"}
    {if no_results} {embed="includes/404"} {/if}

    Finally, to my question!

    Does this make sense?  Is this the most sensible way to acheive what I’m after? I know EE is very flexbile and I don’t want to find out later I have massively over engineered a solution.
    I will most probably change the URL format for new articles but for search engine reasons the old article must resolve to their old URLs.

    Thanks in advance for any feedback and advice. 😊

  • #2 / Jul 02, 2012 1:51pm

    Enviromed

    375 posts

    Hi and welcome to ee!  You will become increasingly happy as you come to know this terrific community.  You’re certainly on the right path to get the start-up site going.

    You’d be well advised to consider integrating low variables right from the start.
    http://devot-ee.com/add-ons/low-variables 

    The most recent ee podcast also recommended title master / mx title control.

    Good luck!

  • #3 / Jul 03, 2012 10:51am

    billuk

    2 posts

    Thanks for your reply, it’s good to know I’m not going in the wrong direction!

    I’ll look into low-variables, though from first glance it does look very useful, so thanks again.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases