<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Contact Form 7: Redirect to a Thank You (Success) Page in WordPress 3</title>
	<atom:link href="http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3</link>
	<description>Online blog for Euro RSCG PR Manchester and Edinburgh</description>
	<lastBuildDate>Tue, 07 Feb 2012 07:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Adam Burt</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-5178</link>
		<dc:creator>Adam Burt</dc:creator>
		<pubDate>Mon, 16 Jan 2012 17:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-5178</guid>
		<description>Anyone still having trouble with this, you could try the PHP way - Add something like this to your functions.php file:

function redir_after_form_sent($form) {
 if ($form-&gt;title == &quot;Ask a question&quot;) {
  header(&#039;Location: /thank-you&#039;);
  die();
 }
}
add_action(&#039;wpcf7_mail_sent&#039;, &#039;redir_after_form_sent&#039;);</description>
		<content:encoded><![CDATA[<p>Anyone still having trouble with this, you could try the PHP way &#8211; Add something like this to your functions.php file:</p>
<p>function redir_after_form_sent($form) {<br />
 if ($form-&gt;title == &#8220;Ask a question&#8221;) {<br />
  header(&#8216;Location: /thank-you&#8217;);<br />
  die();<br />
 }<br />
}<br />
add_action(&#8216;wpcf7_mail_sent&#8217;, &#8216;redir_after_form_sent&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magento Agentur</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-5038</link>
		<dc:creator>Magento Agentur</dc:creator>
		<pubDate>Wed, 12 Oct 2011 13:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-5038</guid>
		<description>nice code, great work!</description>
		<content:encoded><![CDATA[<p>nice code, great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4925</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Fri, 22 Jul 2011 12:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4925</guid>
		<description>Hi Kieron. This was working for me a few months but not so anymore. Have any updates stopped it from working?

Currently my url redirects to something like this: http://www.example.com/#wpcf7-f3-p934-o1 (the content stays the same - so there is no &#039;success page&#039;)
when previously it use to redirect to http://www.example.com/thank-you/ just like you say in your post.</description>
		<content:encoded><![CDATA[<p>Hi Kieron. This was working for me a few months but not so anymore. Have any updates stopped it from working?</p>
<p>Currently my url redirects to something like this: http://www.example.com/#wpcf7-f3-p934-o1 (the content stays the same &#8211; so there is no &#8216;success page&#8217;)<br />
when previously it use to redirect to http://www.example.com/thank-you/ just like you say in your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WEBii.net</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4902</link>
		<dc:creator>WEBii.net</dc:creator>
		<pubDate>Wed, 06 Jul 2011 17:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4902</guid>
		<description>Thank you, Kieron.  This was very helpful in a recent website upgrade for one of our customers. I have always found the default &quot;green outline message&quot; to lack the usability and sleekness that a website really needs.</description>
		<content:encoded><![CDATA[<p>Thank you, Kieron.  This was very helpful in a recent website upgrade for one of our customers. I have always found the default &#8220;green outline message&#8221; to lack the usability and sleekness that a website really needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aetys</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4574</link>
		<dc:creator>Aetys</dc:creator>
		<pubDate>Fri, 22 Apr 2011 13:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4574</guid>
		<description>It&#039;s working for me, thank you !</description>
		<content:encoded><![CDATA[<p>It&#8217;s working for me, thank you !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hilary Brooks</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4573</link>
		<dc:creator>Hilary Brooks</dc:creator>
		<pubDate>Tue, 05 Apr 2011 17:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4573</guid>
		<description>This works fantastic! For me, Contact Form 7 beta version was not required. I simply added the code to the settings area and viola! Thanks so much for providing this helpful tip!</description>
		<content:encoded><![CDATA[<p>This works fantastic! For me, Contact Form 7 beta version was not required. I simply added the code to the settings area and viola! Thanks so much for providing this helpful tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JHouse</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4572</link>
		<dc:creator>JHouse</dc:creator>
		<pubDate>Mon, 28 Feb 2011 16:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4572</guid>
		<description>F yeah, great piece of code there. Thanks. Works like a champ!</description>
		<content:encoded><![CDATA[<p>F yeah, great piece of code there. Thanks. Works like a champ!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zeshan</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4571</link>
		<dc:creator>zeshan</dc:creator>
		<pubDate>Mon, 24 Jan 2011 08:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4571</guid>
		<description>i have tried alll, but its not working for me plz help:(</description>
		<content:encoded><![CDATA[<p>i have tried alll, but its not working for me plz help:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4169</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Wed, 24 Nov 2010 13:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4169</guid>
		<description>Cant get that to work mazhar.</description>
		<content:encoded><![CDATA[<p>Cant get that to work mazhar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie Cockerl</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-4168</link>
		<dc:creator>Stephanie Cockerl</dc:creator>
		<pubDate>Thu, 14 Oct 2010 16:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-4168</guid>
		<description>Thanks for the tip. It worked!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip. It worked!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

