<?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: Redirect users to the WordPress front page after logging in</title>
	<atom:link href="http://www.theblog.ca/wplogin-front-page/feed" rel="self" type="application/rss+xml" />
	<link>http://www.theblog.ca/wplogin-front-page</link>
	<description>Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more</description>
	<lastBuildDate>Fri, 10 Feb 2012 05:51:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Tony</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-14746</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 11 Nov 2010 14:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-14746</guid>
		<description>I use your plug in to lock down my blogs so that people have to log in to view the entire blog.

Right now I redirect my subscribers to my homepage but they complain that they want to stay on that blog page that they logged in on.  How do I program your plug in so the user stays on whatever page they were on when they logged in?

I don&#039;t want to send them to an arbitrary page, I want them to see the full that they were on, whatever that page may be, before they logged in.

&lt;strong&gt;Reply from Peter: Please see &lt;a href=&quot;http://www.theblog.ca/wplogin-redirect#comment-11089&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt;&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>I use your plug in to lock down my blogs so that people have to log in to view the entire blog.</p>
<p>Right now I redirect my subscribers to my homepage but they complain that they want to stay on that blog page that they logged in on.  How do I program your plug in so the user stays on whatever page they were on when they logged in?</p>
<p>I don&#8217;t want to send them to an arbitrary page, I want them to see the full that they were on, whatever that page may be, before they logged in.</p>
<p><strong>Reply from Peter: Please see <a href="http://www.theblog.ca/wplogin-redirect#comment-11089" rel="nofollow">this comment</a></strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-13596</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Fri, 16 Jul 2010 05:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-13596</guid>
		<description>Many thanks - excellent plugin</description>
		<content:encoded><![CDATA[<p>Many thanks &#8211; excellent plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario Zuany</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-10459</link>
		<dc:creator>Mario Zuany</dc:creator>
		<pubDate>Mon, 12 Jan 2009 03:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-10459</guid>
		<description>Man, I just want to thank you for this! =)</description>
		<content:encoded><![CDATA[<p>Man, I just want to thank you for this! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9909</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Mon, 22 Sep 2008 20:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9909</guid>
		<description>simple way.. http://nathany.com/developer/redirecting-wordpress-subscribers/

worked for me :)</description>
		<content:encoded><![CDATA[<p>simple way.. http://nathany.com/developer/redirecting-wordpress-subscribers/</p>
<p>worked for me <img src='http://www.theblog.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9757</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 21 Aug 2008 05:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9757</guid>
		<description>Sorry Kevin, I don&#039;t have any other ideas except maybe the plugin wasn&#039;t activated again after you fixed your syntax error?  Otherwise, if you want to send me some temporary login details, I can check it out.</description>
		<content:encoded><![CDATA[<p>Sorry Kevin, I don&#8217;t have any other ideas except maybe the plugin wasn&#8217;t activated again after you fixed your syntax error?  Otherwise, if you want to send me some temporary login details, I can check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9756</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 21 Aug 2008 00:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9756</guid>
		<description>I missed the &quot;;&quot; at the end of my line... a simple error.  However, now that it&#039;s working, I&#039;m not getting a redirect when I log in as a subscriber...  And if I change the setting by level (level_0 = subscriber), I&#039;m not getting a redirect either.</description>
		<content:encoded><![CDATA[<p>I missed the &quot;;&quot; at the end of my line&#8230; a simple error.  However, now that it&#8217;s working, I&#8217;m not getting a redirect when I log in as a subscriber&#8230;  And if I change the setting by level (level_0 = subscriber), I&#8217;m not getting a redirect either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9750</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 20 Aug 2008 03:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9750</guid>
		<description>Yup, that&#039;s how it works. Make sure you are redirecting to a page within your blog&#039;s directory -- without hacking the core files, WordPress does not allow you to redirect to external pages upon login.</description>
		<content:encoded><![CDATA[<p>Yup, that&#8217;s how it works. Make sure you are redirecting to a page within your blog&#8217;s directory &#8212; without hacking the core files, WordPress does not allow you to redirect to external pages upon login.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9749</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 20 Aug 2008 02:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9749</guid>
		<description>Hi Peter,
I&#039;m trying to get this to work, but I&#039;m a little lost as to how to go about configuring the code.  For example, I want to redirect via Subscriber role, so how do I add that?

$redirect_by_role = array(); // Do not touch this line. Enter rules below this line

When I enter:

$redirect_by_role[&#039;subscriber&#039;] = &#039;http://www.example.com&#039;;

underneath the above line, nothing happens.  I should be able to figure this out, but I&#039;m not as familiar with PHP as I would like to be.</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
I&#8217;m trying to get this to work, but I&#8217;m a little lost as to how to go about configuring the code.  For example, I want to redirect via Subscriber role, so how do I add that?</p>
<p>$redirect_by_role = array(); // Do not touch this line. Enter rules below this line</p>
<p>When I enter:</p>
<p>$redirect_by_role['subscriber'] = &#8216;http://www.example.com&#8217;;</p>
<p>underneath the above line, nothing happens.  I should be able to figure this out, but I&#8217;m not as familiar with PHP as I would like to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9733</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 17 Aug 2008 02:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9733</guid>
		<description>Hi Nate, I&#039;ve now updated the &lt;a href=&quot;http://www.theblog.ca/wp-content/uploads/2008/08/wplogin_redirect.txt&quot; rel=&quot;nofollow&quot;&gt;more complex version&lt;/a&gt; to include redirect per role.</description>
		<content:encoded><![CDATA[<p>Hi Nate, I&#8217;ve now updated the <a href="http://www.theblog.ca/wp-content/uploads/2008/08/wplogin_redirect.txt" rel="nofollow">more complex version</a> to include redirect per role.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://www.theblog.ca/wplogin-front-page/comment-page-1#comment-9728</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Sat, 16 Aug 2008 08:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=194#comment-9728</guid>
		<description>Peter, I just wanted to let you know that this is an excellent plugin. I very luckily stumbled upon it. I used the &quot;working but much more complex solution&quot; and it did exactly what I needed to get done.

One suggestion if you decide to continue to improve the plugin would be to allow users to configure the redirects by role, since you already have level and individual users.

Regardless it&#039;s a great plugin and thanks for the work you put into it.</description>
		<content:encoded><![CDATA[<p>Peter, I just wanted to let you know that this is an excellent plugin. I very luckily stumbled upon it. I used the &quot;working but much more complex solution&quot; and it did exactly what I needed to get done.</p>
<p>One suggestion if you decide to continue to improve the plugin would be to allow users to configure the redirects by role, since you already have level and individual users.</p>
<p>Regardless it&#8217;s a great plugin and thanks for the work you put into it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

