Welcome Guest, Not a member yet? Register   Sign In
404 header returned every time
#1

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:
Code:
RewriteEngine on
RewriteCond $1 !(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /cidx/index.php/$1 [L]

also

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

I've tried multiple to no avail.

Any ideas?
Reply
#2

Check your browsers js console to see if the 404 is for a missing asset, such as an image.
Reply
#3

Ugh, never mind. Client put some Wordpress code inside header.php. *facepalm*
Reply




Theme © iAndrew 2016 - Forum software by © MyBB