I would do it in the htaccess file. No need to leverage PHP logic for
this.

On Nov 7, 10:24 pm, pz <zhangpe...@gmail.com> wrote:
> Hi All,
>
> I am rewriting my old site with Cake 1.2.  The old site has may urls
> that people bookmarked and search engines indexed.  I want to keep
> those url working.  What's the best way to handle them? in httpaccess
> file? or cake route file?
>
> for example:
>
> if someone type inwww.example.com/contacts.php, I 
> wantwww.example.com/contacts/add
> to handle that.  I don't want to do a redirect if possible.
>
> thanks,
> pz

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to