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.

No input file error after moving site to GoDaddy

August 27, 2011 3:27am

Subscribe [2]
  • #1 / Aug 27, 2011 3:27am

    Richard Whitmer

    96 posts

    I’ve just moved a client with an EE 1.7 site over to GoDaddy. On the old host, mod_rewrite wasn’t supported, so we used the index.php/ url scheme for all pages.

    However, after the move, we kept getting a “No input file” error on all pages other than the homepage. After combing through the forums here, I was able to get around that by adding an .htaccess file with the following

    RewriteEngine On 
    RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteRule ^(.*)$ index.php?/$1 [L]

    And removing the index.php/ from the system preferences in the CP.

    However, since the pages are all indexed on search engines with the index.php/ in place we have the opposite problem when folks follow those (or bookmarked) links they get the “No input file” error if index.php/ is in the URL.

    It’s not critical to have or not have the index.php in the URL; however, we definitely don’t want people coming to the site from a search engine or bookmarks to get an error page.

    Any help is appreciated. Thanks!


    Moved to Community Help forum by Moderator

  • #2 / Aug 27, 2011 12:14pm

    Sue Crocker

    26054 posts

    Hi Panchesco,
    You’re going to have to have Google re-index you, I’d tend also to view your stats and do a re-direct in your .htaccess file for the most common links.

    Unfortunately doing that sort of rewrite in beyond the scope of official support, but I can move this to the Community Help forum for additional community support.

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

ExpressionEngine News!

#eecms, #events, #releases