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.

Live site only showing homepage

July 15, 2010 12:51am

Subscribe [3]
  • #1 / Jul 15, 2010 12:51am

    Damien Buckley

    62 posts

    I’ve just moved a 1.6.9 site developed locally and working perfectly in MAMP to a new hosting account. I can see the site and access the control panel no problem but no matter what I do I cannot view any other pages - the correct URL’s display but just show the homepage template for all;

    http://www.contactfirst.com.au

    I’ve tried this with/without the .htaccess file with no difference

    RewriteEngine on
    RewriteCond $1 !^(images|cfadmin|site_images|css|js|flash|themes|index\.php|admin\.php) [NC]
    RewriteRule ^(.*)$ /index.php/$1 [L]

    Help!

  • #2 / Jul 15, 2010 3:36am

    Robert Mirabito

    58 posts

    Have you resolved this issue? I checked your site and it seems as though you may have fixed this problem.

  • #3 / Jul 15, 2010 3:46am

    Damien Buckley

    62 posts

    Robert - after wasting most of today on this, I figured my host doesn’t support URL segments so I’ve turned on force query strings.

    The only problem is now I can’t get it all working to remove index.php?  Its working on some pages but not others. For example - all main pages are ok except where you click a link which is generated dynamically - or perform a search etc - then the ‘?’ gets inserted and it doesnt work - take the ‘?’ out and it works but I can’t seem to get this working in my .htaccess


    Can you offer any suggestions?

    RewriteEngine on
    RewriteCond $1 !^(images|cfadmin|site_images|css|js|flash|themes|index\.php?|admin\.php) [NC]
    RewriteRule ^(.*)$ /index.php?/$1 [L]
  • #4 / Jul 15, 2010 3:53am

    Robert Mirabito

    58 posts

    I don’t know what’s going to work for you situation. It’s generally a bit of trial and error until you find a solution. My suggestions is to remove the ? from index.php in the RewriteCond but keep it in the RewriteRule.

    RewriteEngine on
    RewriteCond $1 !^(images|cfadmin|site_images|css|js|flash|themes|index\.php|admin\.php) [NC]
    RewriteRule ^(.*)$ /index.php?/$1 [L]
  • #5 / Jul 15, 2010 4:15am

    Damien Buckley

    62 posts

    Can’t get it working reliably. Going to have to go back to having the index.php :(

  • #6 / Jul 15, 2010 5:22am

    Damien Buckley

    62 posts

    I’ve got most of the site working albeit with index.php? but the only thing I cant seem to resolve is that Pages Module pages when searched are going to index.php (no ‘?’ and hence not working…)  Any ideas how I can fix this?

  • #7 / Jul 15, 2010 5:33am

    Damien Buckley

    62 posts

    OK, got it working right without index.php? using this:

    http://expressionengine.com/wiki/Workaround_for_Forced_Query_Strings/

    Thankfully had my templates saving revisions…

  • #8 / Jul 15, 2010 5:47am

    John Henry Donovan

    12339 posts

    Damien, glad you are up and running again. Feel free to start a new thread if you have any more questions

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

ExpressionEngine News!

#eecms, #events, #releases