Either: a) Use a robots.txt to get search bots to ignore certain urls b) Or do a redirect in your controller (you'd need to do this in AppController, checking $this->here for the full path and redirecting when detected)
Cheers, Adam On Apr 10, 12:39 pm, Kyle Decot <[EMAIL PROTECTED]> wrote: > I have routed my pagesController:contact to > > example.com/contact/ > > but I also noticed that if I navigate to example.com/pages/contact/ > the page still works. Is there anyway to prevent example.com/pages/ > contact from working, so that only the example.com/contact works? I > would like to do this to prevent having my contact page indexed twice. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---