title: exit a iframe from controller in cakephp to wordpress
body: <p>I have a contact form in a wordpress website written in cakephp (via iframe).
  My issue is that I need to redirect to a  wordpress thankyou page once the cakephp form has been submitted. What happens is that the below redirect stays in the iframe in wordpress which is not what I want. Can I redirect to this wordpress page from a cakephp controller and avoid the iframe in wordpress.
  My question is about what cakephp code do I use NOT JAVASCRIPT</p>
  
  <pre><code>   $this-&gt;redirect('http://www.mywebsite.com.au/book-now/thank-you/');
  </code></pre>