<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Gravity Support Forums Topic: How to prevent others from accessing a download page with the URL copy paste</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-others-from-accessing-a-download-page-with-the-url-copy-paste</link>
		<description>Gravity Support Forums Topic: How to prevent others from accessing a download page with the URL copy paste</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Apr 2026 07:54:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/how-to-prevent-others-from-accessing-a-download-page-with-the-url-copy-paste" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How to prevent others from accessing a download page with the URL copy paste"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-others-from-accessing-a-download-page-with-the-url-copy-paste#post-37998</link>
			<pubDate>Sat, 15 Oct 2011 22:32:27 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">37998@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi suzanne, you can add this bit of code to the page template that's being used for your redirect page.  It will check to be sure they came from the form page, and if not, will direct them to the form page.  You can copy the page template that's currently being used to serve your redirect page, and just add this code to the top, after the template name.  Be sure to edit your page and select this new template.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$form_url = &#38;#39;http://gravity.chrishajer.com/check-referer/&#38;#39;;
if (!($_SERVER[&#38;#39;HTTP_REFERER&#38;#39;]==$form_url)) {
    header(&#38;quot;Location: $form_url&#38;quot;);
    exit;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Change the &#34;form_url&#34; value to the URL where your form lives, the one you want people to be coming FROM before they can see the confirmation.  The code says &#34;if the HTTP_REFERER is not the form page, redirect them to the form page and exit.&#34;&#60;/p&#62;
&#60;p&#62;Try to access this page:&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/hidden-thank-you-page/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/hidden-thank-you-page/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You will be redirected to this page:&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/check-referer/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/check-referer/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you submit the form there, you will be shown the confirmation page which is located here:&#60;br /&#62;
&#60;a href=&#34;http://gravity.chrishajer.com/hidden-thank-you-page/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/hidden-thank-you-page/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The HTTP_REFERER can be forged or modified by the browser, so this is not a super secure solution, but it will prevent direct access to the page by people who just share the URL.&#60;/p&#62;
&#60;p&#62;I also hid it in my list of pages, so it's not so obvious it's there.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>suzannefiilipe on "How to prevent others from accessing a download page with the URL copy paste"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-others-from-accessing-a-download-page-with-the-url-copy-paste#post-37967</link>
			<pubDate>Fri, 14 Oct 2011 21:21:55 +0000</pubDate>
			<dc:creator>suzannefiilipe</dc:creator>
			<guid isPermaLink="false">37967@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the info, and quick reply. Very much appreciated.&#60;/p&#62;
&#60;p&#62;I tried the plug-in alone but didn't work. &#60;/p&#62;
&#60;p&#62;As I mentioned I am not a developer. I can create and apply custom page templates, and I can insert code no problem, but can't write a line of code. Do you have an idea of the code I would need to add in the custom page template to execute this function? If not I will understand. Thank you for the tip and quick reply.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "How to prevent others from accessing a download page with the URL copy paste"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-others-from-accessing-a-download-page-with-the-url-copy-paste#post-37963</link>
			<pubDate>Fri, 14 Oct 2011 17:56:37 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">37963@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You would have to do this via some customization to your theme or page template, it's not something Gravity Forms does itself. You would need to use PHP to check for a specific referrer ( in this case your form page ) and if that's not where they came from, then redirect them back to that page.&#60;/p&#62;
&#60;p&#62;You might be able to use a plugin like this one.. I haven't tried it for this scenario, but it looks like it may work.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/redirection/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/redirection/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>suzannefiilipe on "How to prevent others from accessing a download page with the URL copy paste"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-others-from-accessing-a-download-page-with-the-url-copy-paste#post-37958</link>
			<pubDate>Fri, 14 Oct 2011 17:32:32 +0000</pubDate>
			<dc:creator>suzannefiilipe</dc:creator>
			<guid isPermaLink="false">37958@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'm not a developer, but I use Gravity forms because it is simple. Love it.&#60;/p&#62;
&#60;p&#62;Can I force anyone to go back to the Form page if they try to share the redirect page URL with others that haven't fill out the initial form.&#60;/p&#62;
&#60;p&#62;Hope I'm being clear on what needs to happen,....&#60;br /&#62;
Thank for your help,...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
