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.

removing index.php in URL revisited

December 01, 2007 4:09pm

Subscribe [2]
  • #1 / Dec 01, 2007 4:09pm

    liquilife

    147 posts

    Good afternoon,

    I had been running my domain unclegamer.com with EE for a while. I had the .htaccess trick set up to remove the index.php in the URL which worked great. Recently I switched hosts and it no longer seems to be working. I’ve checked with them to make sure that they have mod_rewrite installed and working on the apache server. It has been confirmed they do.

    Is there anything I am not thinking of that would cause an identical setup to not work with the .htaccess trick as defined at http://expressionengine.com/wiki/Remove_index.php_From_URLs/ ? The settings at my previous host are identical to this new host, and I’m completely stumped. Any ideas?

    The error I’m getting when I removed /index.php/ is “No input file specified.”. When I add in /index.php/ it works as intended.

    Thanks!

  • #2 / Dec 01, 2007 4:48pm

    Lisa Wess

    20502 posts

    Do all the pages work, or just the front page? I suspect you need to force query strings.

  • #3 / Dec 01, 2007 5:07pm

    liquilife

    147 posts

    Yes, the pages work great. The front page loads fine. I just can no longer use the cleaner URL’s removing /index.php/.

    But what would cause me to force query strings? What would be missing on an apache server to cause EE to force query strings? If I remember right I’d then have to carry the “?” in all of my URL’s which is what I’m also trying to avoid.

  • #4 / Dec 01, 2007 5:29pm

    Lisa Wess

    20502 posts

    Do pages other than the index work, though?

  • #5 / Dec 01, 2007 6:15pm

    liquilife

    147 posts

    Yes, only if I manually put in /index.php/ however the entire navigation on the site is based on a working .htaccess file that allowed me to never include /index.php/.

  • #6 / Dec 02, 2007 12:55am

    Greg Freeman

    25 posts

    Can you post the contests of your .htaccess file.

  • #7 / Dec 03, 2007 1:58am

    mayest

    293 posts

    @liquilife, check my thread here:

    http://ellislab.com/forums/viewthread/66183/

    It might be helpful. lealea really helped me get this sorted.

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

ExpressionEngine News!

#eecms, #events, #releases