404 header returned every time - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: 404 header returned every time (/showthread.php?tid=1473) |
404 header returned every time - jkd_dude - 03-12-2015 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 also $config['uri_protocol'] = 'AUTO'; I've tried multiple to no avail. Any ideas? RE: 404 header returned every time - CroNiX - 03-12-2015 Check your browsers js console to see if the 404 is for a missing asset, such as an image. RE: 404 header returned every time - jkd_dude - 03-12-2015 Ugh, never mind. Client put some Wordpress code inside header.php. *facepalm* |