Expression Engine - template page not showing

I have two pages on a site that I just completed that are no longer showing. I am running EE 2.2.2 and use .htaccess to hide the index page.

There are several templates in the same directory, all but two of them show correctly. For example:

This shows correctly:

While these two do not:

I get the following error message:

Index of /retailer

Parent Directory

Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ Server at Port 80

The problem I see is that neither /retailer or /grower are directories.

Here is the htaccess code:

RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L]

I would appreciate some help in figuring this out.

-------------Problems Reply------------

Alas, user error. Someone else had created folders of the same name, which were in conflict with the template names.

If I put index.php in the URL the pages seem to come up, so it's probably an .htaccess issue. Have you been through the official docs for removing it? There's several options:

Another said that retailer and grower are all in the same directory? EE doesn't generally work like that unless you're using Structure. Template groups define new top level directories and each template inside is a sub directory (other than the index). So in this case if they're all in the landscaping directory the urls' would be /landscaping/retailer and /landscaping/grower. Hope that helps!

It looks like you are using the "File and Directory Check" method for the .htaccess file for ExpressionEngine.

Are retailer and grower template groups or templates in EE?

Have you tried removing the ? after the index.php in the rewrite rule? What hosting company are you using?

I have had best success with the "Exclude" method myself.

You essentially put in the ReWriteCond the folders / files that you do NOT want EE to parse as if it's a template. So, your /images, /system, /themes, etc directories, if you end up having one for /js or another application, you just add them to that line. (Make sure to escape the periods.) I suggest trying that method. That way everything else will definitely go through EE.

Category:.htaccess Views:0 Time:2011-09-07

Related post

  • Linking to files in Expression Engine templates (path name problems) 2010-08-18

    Hey, new to expression engine - loving it, but having difficulties with linking to external files. I know this differs from server to server, but at present I see no end to these woes and would appreciate a nudge in the right direction. Server issues

  • Parse template tags outside of Expression Engine Template 2011-10-14

    I'm running Expression Engine 2.3.0 and using the Channel Images add on. Part of the site is complex enough that I'm doing it via a plugin rather than using EE's template logic. What I've essentially got is a CodeIgniter controller and views that's c

  • Cron jobs with Expression Engine 2? 2011-12-23

    I'm developing an Expression Engine site. The site has a database table populated from an external feed, and this feed needs to be parsed twice daily. Obviously, a cron job seems a good fit for this, but where I'm struggling is, where do I put the co

  • In Expression Engine 1.6, how do I disable caching for a specific page? 2011-04-20

    In Expression Engine 1.6, how do I disable caching for a specific page? I'm working on tweaking a page, and it is annoying that after I make changes I am still seeing the cached copy. I don't want to turn off caching for the whole site because it get

  • How can I hide the pagination on entry pages in expression engine? 2012-04-12

    I am currently building a site with Expression Engine. I have just put some pagination on my news pages. This works perfectly. However the pagination appears on the entry pages and I do not want it to. I tried {if segment_3 == ""} {paginate} Page {cu

  • expression engine: do I use snippets or embedded templates for the sidebar in my blog 2012-04-24

    I have a website created using codeigniter framework. I am using expression engine cms to create a blog on that site from scratch. With the idea that I will land up using expression engine for the rest of the site and pages as well - one thing at a t

  • Regular expression filtering - mimicking Expression Engine's template parsing 2009-10-14

    I'd like to mimick (reproduce) Expression Engine's fantastic template parsing method. (Pls don't ask me why not using it :)) While i'm able to find and parse simple tags like {example_param = "param_value"} i cannot parse tags where closing tag added

  • Expression Engine - Why don't "includes" show on Segment_3 + templates? 2012-04-07

    I am working on a site where most of the templates are segment_1 or segment_2 level. On these the footer content (which is an includes file) displays properly. Example: However, on a s

  • Custom PHP and expression engine 2009-11-12

    I've created a complex php contact form that I'm looking to implement into my contact page, but for some reason expression engine isn't recognizing the php code even though I've enabled it in my preferences. Here's what the form looks like, I've trie

  • Expression Engine CMS 2010-10-18

    I’m looking at using Expression Engine for a new site I’m developing does anyone have any experience of using EE, good or bad? I’ve looked at some other CMS but found they are quite big and although you get everything, I like EE as it looks like you

  • expression engine: best way to handle user data, defined member fields or tie to a channel? 2011-02-10

    In expression engine: I have a site that businesses can sign up and then sell 1 type of widget. Each business just needs name, widget and price. Then there will be a page that shows all business, with their widget and price. What is the best way to h

  • Cron jobs with Expression Engine Scripts 2011-02-28

    Just wondering if anyone has any advice on the best approach to take for setting up cron jobs for scripts that run within Expression Engine. At the moment my plan is to use a cron job to access a URL with Lynx. The URL will be a random string so it c

  • expression engine member to category to channel relationships 2011-03-01

    Possible Duplicate: One-To-Many member-to-articles relationship We are new to expression engine and could maybe use some help from anyone who has built a few sites using this CMS. We have a small dashboard system where users log in and read articles

  • Dynamic segment_1 in Expression Engine 2011-03-08

    This is a pretty simple question, I just can't seem to find the information on it. In expression engine, is it possible for {segment_1} to be a dynamic variable. I.E. if I wanted to take my URL structure from:

  • Create Single Event ICS file with Expression Engine 2011-04-21

    I'm trying to create an ICAL file based on a single entry inside an Expression Engine channel but my methods of accomplishing this are failing. I've tried the following: Passing the entry ID into a new template (which creates the file) but using the

  • Password Module for Expression Engine? 2011-05-23

    Just wondering if someone could help me approach a clients request. Is there any modules for expression engine for password protected pages? I need to set up a form for the user to fill out and choose a password and username, this would then give the

  • Twitter Timeline through Expression Engine 2011-06-13

    Can anyone help me integrate Twitter through Expression Engine. I am new to expression engine and I have tried to follow the example the Twitter Timeline developed by the EE team but couldn't get it working. Can anyone help me with step by step proce

  • Breadcrumb problem in Expression Engine 2011-06-22

    I am having a small issue in expression engine, I have created a breadcrumb snippet. I have created it using {if segment_} coding. So I created an if rule for each of the pages (it's not a huge site) however I am having a problem with one of the brea

  • Expression Engine - Next entry in specific category? 2011-07-06

    OK, another problem with Expression Engine. I know it pretty well but i'm sort-of just learning categories! I've searched around for this answer but can only find the same thing. I need to have a next button on a title_permalink page that goes to the

Copyright (C), All Rights Reserved.

processed in 0.132 (s). 11 q(s)