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