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.

Site broken! All pages only display home page template. Yikes.

September 07, 2011 11:19pm

Subscribe [2]
  • #1 / Sep 07, 2011 11:19pm

    dirksnat

    38 posts

    Out of the blue, one of my sites will only display the home page template.  So example.com/about shows the home page, and example.com/contact shows the home page, etc.  None of the templates seem to be working.

    Oddly enough, the javascript slideshow on the homepage is not working, either.  I’m assuming that these issues are related, but not sure how. 

    The CP seems to be working without a hitch. 

    I’ve looked into the file directories on the server, and everything seems to be normal.

    I have no idea where to start looking to solve this issue.  The site has been working fine for a year and a half.  Any ideas for a starting point?!?  I’d loved to get this fixed before dawn.

    This site is on v 1.6.8, build 20100121.  Thanks!

  • #2 / Sep 07, 2011 11:37pm

    dirksnat

    38 posts

    After looking a little deeper, looks like well known “path_info” server variable might be the issue here.

    I will re-post if I have success getting this re-configured.  The host must have changed things on me.

  • #3 / Sep 08, 2011 10:25am

    dirksnat

    38 posts

    Ok, all is well again.

    I had been removing index.php using the include method, and when GoDaddy upgraded from Apache 2.1 to 2.2 everything fell apart.  The site would would work only with index.php? stuck in the URL.  So example.com/about and example.com/index.php/about were broken, but example.com/index.php?/about worked.   

    GoDaddy’s solution was to upgrad me from a legacy server to a new grid server, and said that would solve the problem.  It didn’t, at least not completely. 

    What ultimately fixed the problem was adding a ? to my .htaccess file

    Old:

    RewriteRule ^(.*)$ /index.php/$1 [L]

    New:

    RewriteRule ^(.*)$ /index.php?/$1 [L]

    A lot of the How to fix problems with GoDaddy regarding how to make GoDaddy work with EE are from a few years back, and their fixes didn’t work for me.  The only thing I changed was .htaccess.

  • #4 / Sep 08, 2011 2:17pm

    Kyle Cotter

    730 posts

    Hey dirksnat,

    Glad you’re all set. Yup, with GoDaddy, you’ll need that “?” added to the RewriteRule as it’s needed to force a URL query.

    There are more details as to why here in the wiki and on this F.A.Q..

    Does that clear everything up for you?

    Thanks!

  • #5 / Sep 08, 2011 2:34pm

    dirksnat

    38 posts

    Perfect, thanks Kyle.  All cleared up.

  • #6 / Sep 08, 2011 2:36pm

    Kyle Cotter

    730 posts

    Great! If you come across any more issues, feel free to start a new thread!

    Thanks dirksnat!

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

ExpressionEngine News!

#eecms, #events, #releases