My guess: Look for 'this->redirect' in app_controller, then all the
remaining controllers.

If that fails, maybe routes.php


On Sun, Dec 15, 2013 at 8:55 PM, Jason Page <page...@gmail.com> wrote:

> 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+unsubscr...@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.
>



-- 
Simon Males

-- 
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+unsubscr...@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.

Reply via email to