• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.