I am using Pages module and the Better Pages plugin on a site. When I navigate to the 'about' page, http:www/mydomain.com/about does not work and http://www.mydomain.com/about/index does.
Am I missing something in regards to how this is set up? Why do I have to include the template name with the template group? I didn't think the template name was required.
* EDIT * Using: EE 2.8.1 Better Pages 1.1.8
* EDIT *
My Pages URI is: /about
The following is my index template in the about template group.
{About/Index} Template Code
{!-- STASH SITE SETTINGS --}
{stash:embed:partials:site_variables process="start" replace="yes" parse="yes"}
{!-- /STASH SITE SETTINGS --}
{snippet--doctype-html-head}
{snippet--core-head}
<link rel="stylesheet" href="{site_url}css/skins/{exp:stash:get name='color'}.css">
<body class="{exp:stash:get name='style'}">
<div class="body">
{!-- Header Router --}
{exp:channel:entries
channel="header"
limit="1"
disable='categories|member_data|pagination'
}
{!-- FIND THE TEMPLATE CHOSEN --}
{exp:query
sql="SELECT template_name FROM exp_templates WHERE template_id = '{header_layout}' "
}
{embed="Header/{template_name}"
rail_message="{rail_message}"
navigation_type="{navigation}{navigation:navigation_type}{/navigation}"
navee="{navigation}{navigation:navee}{/navigation}"
manual="{navigation}{navigation:manual}{/navigation}"
{if top_links:total_rows > 0}
top_links="TRUE"
{/if}
}
{/exp:query}
{/exp:channel:entries}
{!-- /Header Router --}
{!-- Page Router --}
{exp:channel:entries
channel="about"
limit="1"
disable='categories|member_data|pagination'
}
{!-- MUST HAVE ENTRY --}
{if no_results}
{redirect="404"}
{/if}
{!-- FIND THE TEMPLATE CHOSEN --}
{exp:query
sql="SELECT template_name FROM exp_templates WHERE template_id = '{page_layout}' "
}
{embed="About/{template_name}"}
{/exp:query}
{/exp:channel:entries}
{!-- /Page Router --}
{!-- Footer Router --}
{exp:channel:entries
channel="footer"
limit="1"
disable='categories|member_data|pagination'
}
{!-- FIND THE TEMPLATE CHOSEN --}
{exp:query
sql="SELECT template_name FROM exp_templates WHERE template_id = '{footer_layout}' "
}
{embed="Footer/{template_name}"
banner="{banner_text}"
news_head="{newsletter_subscription_header}"
news_intro="{newsletter_lead_in_copy}"
twitter_head="{twitter_feed_header}"
contact_head="{contact_header}"
posts_head="{recent_posts_header}"
work_head="{recent_work_header}"
}
{/exp:query}
{/exp:channel:entries}
{!-- /Footer Router --}
{!-- REQUIRED FOR PREVIEW --}
{snippet--foot-constants}
{!-- /REQUIRED FOR PREVIEW --}