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.

Specific Template Group Not Working

January 13, 2009 1:03pm

Subscribe [2]
  • #1 / Jan 13, 2009 1:03pm

    Chris C.

    47 posts

    Hey All,

    I’ve recently created a new template group to take the place of a static page that used the same URL (let’s call it “schools”). For some reason, the template group is throwing 404s for all its templates (including index), but only when named “schools”. If I change one character of the name, or rename it entirely, it works fine. I’m sure there’s an easy solution to this, but it’s driving me nuts. Yes, the old static page has been deleted. Yes, I’ve cleared my caches. No, “schools” does not appear in my .htaccess file. Any suggestions?

    Thanks!

  • #2 / Jan 13, 2009 5:31pm

    Chris C.

    47 posts

    Update to the problem. I’ve removed index.php from my URLs. Adding it back in by hand takes me to the proper page. I’d really appreciate any help someone might offer.

  • #3 / Jan 13, 2009 5:39pm

    Ingmar

    29245 posts

    What version and build of EE are you on? Is there an entry by that name? Or a template in some other template group? Does it work when you don’t remove index.php from your URLs?

  • #4 / Jan 13, 2009 9:17pm

    Chris C.

    47 posts

    EE is 1.6.6. No entries or other templates by that name. There was a weblog also named “schools”, but I’ve changed the name of the weblog and still no luck. Currently it works when I ADD index.php, but not otherwise. I messed around with the “force URL query strings” option in output and debugging preferences and gotten it working. I see by older posts that this might have something to do with htaccess and the rewrite module, but I’m at a loss as to why it would work absolutely fine with every other template group name I choose and not with “schools.”

    I also saw in those older posts that there might be no official support for my problem. Still, if anyone’s able to offer any ‘unofficial’ support, I’d be eternally grateful.

  • #5 / Jan 13, 2009 9:27pm

    Greg Aker

    6022 posts

    Chris:

    I would recommend re-reading the wiki post on removing index.php from your URL’s.  Experiment with the different methods.  My guess is that you are using the “include” method, and you didn’t add the new template group to the rewrite rule.

    That being said, I’m going to move this over to “how to.”

    Regards,

    -greg

  • #6 / Jan 13, 2009 9:47pm

    Chris C.

    47 posts

    As a matter of fact, I’m using “exclude”, which is what makes this one really bothersome. It’s my preferred method (I’ve read the document you reference multiple times), so I’d really like to keep it up. In case it matters, this server is OS X 10.5.6, Apache2, MySQL 5 and PHP 5.

    Thanks for any help, all.

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

ExpressionEngine News!

#eecms, #events, #releases