CodeIgniter Forums

Full Version: 404 header returned every time
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a codeigniter app that works fine everywhere, but on 1 particular client's server the pages all load correctly BUT it returns a 404 header every single time.

This is preventing Google from indexing the site correctly.

Here is my .htaccess:
RewriteEngine on
RewriteCond $1 !(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /cidx/index.php/$1 [L]


$config['uri_protocol'] = 'AUTO';

I've tried multiple to no avail.

Any ideas?
Check your browsers js console to see if the 404 is for a missing asset, such as an image.
Ugh, never mind. Client put some Wordpress code inside header.php. *facepalm*