<?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: Require Login for WordPress Pages</title>
	<atom:link href="http://www.rlmseo.com/blog/require-login-for-wordpress-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 17:05:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-482</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 28 Oct 2011 05:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-482</guid>
		<description>Thanks for clarifying &quot;private&quot; visibility on a wordpress page.  I was hoping it allowed logged-in users to view those pages.</description>
		<content:encoded><![CDATA[<p>Thanks for clarifying &#8220;private&#8221; visibility on a wordpress page.  I was hoping it allowed logged-in users to view those pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Henderson</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-481</link>
		<dc:creator>Dan Henderson</dc:creator>
		<pubDate>Sat, 15 Oct 2011 22:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-481</guid>
		<description>Thanks heaps...was a little unhappy when I realised making a page private hides from menus etc, but this fixed it up in 30 seconds.</description>
		<content:encoded><![CDATA[<p>Thanks heaps&#8230;was a little unhappy when I realised making a page private hides from menus etc, but this fixed it up in 30 seconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-480</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 06 Oct 2011 11:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-480</guid>
		<description>Hi,
What I&#039;m looking for is that users get a login page. When they are logged in they should get redirected to this template page. Do you know how I can get this login page without letting the users getting acces to the dashboard?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
What I&#8217;m looking for is that users get a login page. When they are logged in they should get redirected to this template page. Do you know how I can get this login page without letting the users getting acces to the dashboard?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-479</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Tue, 24 May 2011 21:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-479</guid>
		<description>The full code should be available. Perhaps you have javascript disabled...although that shouldn&#039;t matter, that&#039;s what formats the code blocks. Try view source if not. Any code I&#039;d give you with echo would do the same thing if you can&#039;t view a long line.</description>
		<content:encoded><![CDATA[<p>The full code should be available. Perhaps you have javascript disabled&#8230;although that shouldn&#8217;t matter, that&#8217;s what formats the code blocks. Try view source if not. Any code I&#8217;d give you with echo would do the same thing if you can&#8217;t view a long line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duane</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-478</link>
		<dc:creator>duane</dc:creator>
		<pubDate>Thu, 05 May 2011 02:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-478</guid>
		<description>Is it possible to get the full line of code from the post for using the echo command instead wp-die?
Your page cut-off the right side of it!

I keep getting a parse error with the wp_die line.

Thanks</description>
		<content:encoded><![CDATA[<p>Is it possible to get the full line of code from the post for using the echo command instead wp-die?<br />
Your page cut-off the right side of it!</p>
<p>I keep getting a parse error with the wp_die line.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zisu</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-477</link>
		<dc:creator>zisu</dc:creator>
		<pubDate>Mon, 14 Mar 2011 21:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-477</guid>
		<description>Hiiii
I&#039;ve Wordpress 3.1, with the theme lightword. 
I&#039;ve used 1:1 the same code you advice. If the user isn&#039;t logged in, the message comes, all fine. But if the User is logged in, only a white Page comes and in the developertools of Chrome i&#039;ve also got http error 500. Not only Chrome, also Firefox and IE.

Thx for support! =)</description>
		<content:encoded><![CDATA[<p>Hiiii<br />
I&#8217;ve WordPress 3.1, with the theme lightword.<br />
I&#8217;ve used 1:1 the same code you advice. If the user isn&#8217;t logged in, the message comes, all fine. But if the User is logged in, only a white Page comes and in the developertools of Chrome i&#8217;ve also got http error 500. Not only Chrome, also Firefox and IE.</p>
<p>Thx for support! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-476</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Fri, 18 Feb 2011 20:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-476</guid>
		<description>Looks great K! Thanks for that tip!</description>
		<content:encoded><![CDATA[<p>Looks great K! Thanks for that tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Barnes</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-475</link>
		<dc:creator>K.Barnes</dc:creator>
		<pubDate>Fri, 18 Feb 2011 20:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-475</guid>
		<description>I&#039;m replying to the question I just asked about the log in redirect.  I did some looking around and got this to work (note REST OF URL HERE means the rest of the URL to your specific page:

[php]
&lt;?php else: echo(&#039;Sorry, you must first &lt;a href=&quot;/wp-login.php?redirect_to=index.php/YOUR URL HERE/&quot; rel=&quot;nofollow&quot;&gt;log in&lt;/a&gt; to view this page.&#039;); endif; ?&gt;
[/php] </description>
		<content:encoded><![CDATA[<p>I&#8217;m replying to the question I just asked about the log in redirect.  I did some looking around and got this to work (note REST OF URL HERE means the rest of the URL to your specific page:</p>
<p>[php]<br />
&lt;?php else: echo(&#8216;Sorry, you must first &lt;a href=&quot;/wp-login.php?redirect_to=index.php/YOUR URL HERE/&quot; rel=&quot;nofollow&quot;&gt;log in&lt;/a&gt; to view this page.&#8217;); endif; ?&gt;<br />
[/php]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Barnes</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-474</link>
		<dc:creator>K.Barnes</dc:creator>
		<pubDate>Fri, 18 Feb 2011 19:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-474</guid>
		<description>I had to use the ECHO as well, using wp_die caused a lay out error in my theme as well (only when user was not logged in of course).

My question is, is there any way that once a user logs in, that they canend up on the page itself VS ending up on the dashboard?</description>
		<content:encoded><![CDATA[<p>I had to use the ECHO as well, using wp_die caused a lay out error in my theme as well (only when user was not logged in of course).</p>
<p>My question is, is there any way that once a user logs in, that they canend up on the page itself VS ending up on the dashboard?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-473</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Wed, 22 Dec 2010 19:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-473</guid>
		<description>Yeah, a plugin is probably a bit overkill for this. Glad it worked for you!</description>
		<content:encoded><![CDATA[<p>Yeah, a plugin is probably a bit overkill for this. Glad it worked for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stemyers</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-472</link>
		<dc:creator>stemyers</dc:creator>
		<pubDate>Tue, 14 Dec 2010 22:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-472</guid>
		<description>Brilliant - thank you, can&#039;t believe I spent 2 hours messing with crappy plugins that don&#039;t work, so simple</description>
		<content:encoded><![CDATA[<p>Brilliant &#8211; thank you, can&#8217;t believe I spent 2 hours messing with crappy plugins that don&#8217;t work, so simple</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-471</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 05 Nov 2010 17:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-471</guid>
		<description>Works great! However, I need to resolve the relative link to the login page for Windows 7.  I will try it on a Linux box soon.</description>
		<content:encoded><![CDATA[<p>Works great! However, I need to resolve the relative link to the login page for Windows 7.  I will try it on a Linux box soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donal</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-470</link>
		<dc:creator>Donal</dc:creator>
		<pubDate>Sat, 13 Mar 2010 16:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-470</guid>
		<description>Thanks for that, worked a treat.</description>
		<content:encoded><![CDATA[<p>Thanks for that, worked a treat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-469</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Mon, 22 Feb 2010 05:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-469</guid>
		<description>Awesome. Thanks for the update!</description>
		<content:encoded><![CDATA[<p>Awesome. Thanks for the update!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vice</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comment-468</link>
		<dc:creator>vice</dc:creator>
		<pubDate>Sun, 21 Feb 2010 14:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/?p=546#comment-468</guid>
		<description>the solution worked fine, but wp_die caused my theme to display an error page layout, so i used echo instead...</description>
		<content:encoded><![CDATA[<p>the solution worked fine, but wp_die caused my theme to display an error page layout, so i used echo instead&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

