<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"	>
<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>The Online Marketing People</description>
	<lastBuildDate>Tue, 22 May 2012 17:21:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Dennis de Roo</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-1224</link>
		<dc:creator>Dennis de Roo</dc:creator>
		<pubDate>Mon, 12 Mar 2012 12:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-1224</guid>
		<description>* closing body tag</description>
		<content:encoded><![CDATA[<p>* closing body tag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis de Roo</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-1223</link>
		<dc:creator>Dennis de Roo</dc:creator>
		<pubDate>Mon, 12 Mar 2012 12:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-1223</guid>
		<description>People who having trouble with this, be sure you&#039;ve added wp_footer() just before the closing  tag.</description>
		<content:encoded><![CDATA[<p>People who having trouble with this, be sure you&#8217;ve added wp_footer() just before the closing  tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Templatespress</title>
		<link>http://www.pushon.co.uk/blog/web-development/contact-form-7-redirect-to-a-thank-you-page-in-wordpress-3/#comment-955</link>
		<dc:creator>Templatespress</dc:creator>
		<pubDate>Fri, 24 Feb 2012 08:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pushon.co.uk/?p=1835#comment-955</guid>
		<description>hi &quot;Adam Burt&quot; it not working for me</description>
		<content:encoded><![CDATA[<p>hi &#8220;Adam Burt&#8221; it not working for me</p>
]]></content:encoded>
	</item>
	<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-954</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-954</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-953</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-953</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-952</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-952</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: <a href="http://www.example.com/#wpcf7-f3-p934-o1" rel="nofollow">http://www.example.com/#wpcf7-f3-p934-o1</a> (the content stays the same &#8211; so there is no &#8216;success page&#8217;)<br />
when previously it use to redirect to <a href="http://www.example.com/thank-you/" rel="nofollow">http://www.example.com/thank-you/</a> 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-951</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-951</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-948</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-948</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-947</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-947</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-946</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-946</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>
</channel>
</rss>

