CakePHP Tips – Summer 2013

2

While CakePHP 2.4 is now just around the corner (already beta), a few tips gathered the last few days. Don’t mix controller and component pagination Currently, if you mix controller…While CakePHP 2.4 is now just around the corner (already beta),…

Forms and redirecting

0

Redirecting in your CakePHP app My CommonComponent now contains three redirecting methods: /** * @param mixed $url * @param bool $useReferer * returns nothing and automatically redirects * 2010-11-06 ms…Redirecting in your CakePHP app My CommonComponent now contains three redirecting…

Redirect Root Domain to WWW Subdomain

2

The Problem "When you have two different addresses pointing to the same page, like www.example.com/offers.html and example.com/offers.html, many search engines (or so we are led to believe) will treat those…The Problem "When you have two different addresses pointing to the…