Friday, October 30, 2009

Re: 404 Status

debug = 1 and you are expected to be in development and any missing
"file" is likely to be a missing controller or action.
debug = 0 and you are expected to be deployed... Cake now returns 404
for missing items.

On Oct 30, 7:01 am, "#2Will" <willjbar...@gmail.com> wrote:
> Hi,
>
> My installation of cake returns a 200 status for missing items, eg
> controller not found, action not found etc etc.
>
> Am i right in thinking this is a bit of a no-no seo wise? I thought
> google likes to see a 404 code for 404 pages.
>
> Also, it makes it hard to look in firebug and see what files are
> missing (am i incuding jquery correctly etc) because everything is 200
> ok, not 404 and red.  If i open in anouther tab, i get the helpfull
> cake page prompting me to create a controller.
>
> Is this normal cake behaviour?  how can i change it?  Should cake not
> do this?
>
> Thanks
>
> Will
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: