Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7188621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:07:27+00:00 2026-05-28T19:07:27+00:00

Let me clarify: I am building a relatively simple brochure site that has multiple

  • 0

Let me clarify: I am building a relatively simple brochure site that has multiple sections that I would like to use the same ‘template’. For example: http://example.com/section1 & http://example.com/section2. I would also like these two sections to use the same ‘view’ template for their individual entry pages, for example on http://example.com/section1/item1 or http://example.com/section2/item2/.

Is this possible? I am very new to EE & have been reading about lots of ways to change url structure etc but nothing quite like what I’m asking. I am also aware that my solution could be achieved by creating two template groups with identical index templates with them but that seems rather silly.

P.S. I know my channel settings might be relevant so please let me know what they should be in order to answer this.

Many thanks

Zander

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:07:29+00:00Added an answer on May 28, 2026 at 7:07 pm

    Yes, this is possible, and you’ve got a few options.

    The first is to use Structure. Structure allows you to use the same page templates across multiple pages (ie http://example.com/section1 and http://example.com/section2). This is probably your best bet.

    The second option is to use the Pages Module that comes with ExpressionEngine.

    The third option is to make your index template a simple ‘router’. It would go something like this:

     {if segment_2 == 'item1'}
         {embed="template_group/template_name" entry_id="4"}
     {if:elseif segment_2 == 'item2'}
         {embed="template_group/template_name" entry_id="3"}
     {if:elseif segment_1 == 'section2'}
         {embed="template_group/template_name" entry_id="2"}
     {if:elseif segment_1 == 'section1'}
         {embed="template_group/template_name" entry_id="1"}
     {/if}
    

    This will look at the URL segments and then embed the same template for each, and pass it the entry ID which you can use in your {exp:channel:entries} tag to display the content from the appropriate entry.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The caption is confusing. Let me clarify a bit: I'd like to provide events
Let me clarify this a bit... I have a class that handles XML files.
This topic has been discussed million times before, but let me clarify my needs:
I'm building a query that has a bunch of optional parameters, some of which
Realize this may sound like a broad question - so let me clarify. I
Our code sucks. Actually, let me clarify that. Our old code sucks. It's difficult
Let me clarify: I'm using standard jQuery autocomplete plugin (bassistanse.de) and bind it to
First off, let me clarify the platforms we are using. We have an ASP.NET
Let's say I'm building a data access layer for an application. Typically I have
Let me try to explain what I need. I have a server that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.