Sunday, December 15, 2013

302 redirects of 404 pages

Hi gents,

I've inherited a site doing something SEO suicidal, but I can't for the life of me find where it is doing this, and I'm not even that familiar with PHP, so it's turning out to be a nightmare. It probably doesn't help that the site is 4 years old or so and has barely been updated in that time.

Every non existent page is 302 redirecting to the homepage.

Where should I be looking for a problem like this? I started with the htaccess but it doesn't seem to be there. I then found /cake/libs/error.php but after completely replacing that file with the standard core file the redirect is still happening and I assume that isn't basic functionality.

I would really appreciate the help of some folks that know the system in identifying this..

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: