<?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: WordPress .htaccess and Membership Sites</title>
	<atom:link href="http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/</link>
	<description>New and Classic Tools, Information, Advice and Discussion on Internet Marketing</description>
	<lastBuildDate>Fri, 24 Jun 2011 06:29:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Easily Create A WordPress Membership Site &#187; Internet Marketing Toolbox</title>
		<link>http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-722</link>
		<dc:creator>Easily Create A WordPress Membership Site &#187; Internet Marketing Toolbox</dc:creator>
		<pubDate>Thu, 30 Oct 2008 23:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-722</guid>
		<description>[...] high priced membership software which &#8220;plugs in&#8221; to WordPress. These detailed posts Wordpress .htaccess and Membership Sites  WordPress Membership Plugins?have already attracted quite a bit of attention, simply because [...]</description>
		<content:encoded><![CDATA[<p>[...] high priced membership software which &#8220;plugs in&#8221; to WordPress. These detailed posts WordPress .htaccess and Membership Sites  WordPress Membership Plugins?have already attracted quite a bit of attention, simply because [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Spry</title>
		<link>http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-597</link>
		<dc:creator>Stephen Spry</dc:creator>
		<pubDate>Sat, 02 Aug 2008 01:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-597</guid>
		<description>Hi Tim

I have a strange feeling that I tried earlier to setup the public page inside of /wp/ at one stage, and couldn&#039;t get it to work either. Which is why I ended up setting it up the way I did... kept fiddling until it worked.

As far as my previous suggestion goes... &lt;B&gt;that does NOT work&lt;/B&gt; LOL

Now that I am wide awake once again, I had the chance to try it out - putting the files as described in a /public/ directory - and no go with that at al!

I got a 404 error when accessing /public/ and while the page displayed properly when looking at /public/index.php in my browser, it showed no posts... so back to the drawing board on that one!

But that is where &quot;trial and error &quot; makes all of this fun - frustrating at times, but still good fun.

So I think I&#039;ll stick with what works as described in the main post.</description>
		<content:encoded><![CDATA[<p>Hi Tim</p>
<p>I have a strange feeling that I tried earlier to setup the public page inside of /wp/ at one stage, and couldn&#8217;t get it to work either. Which is why I ended up setting it up the way I did&#8230; kept fiddling until it worked.</p>
<p>As far as my previous suggestion goes&#8230; <b>that does NOT work</b> LOL</p>
<p>Now that I am wide awake once again, I had the chance to try it out &#8211; putting the files as described in a /public/ directory &#8211; and no go with that at al!</p>
<p>I got a 404 error when accessing /public/ and while the page displayed properly when looking at /public/index.php in my browser, it showed no posts&#8230; so back to the drawing board on that one!</p>
<p>But that is where &#8220;trial and error &#8221; makes all of this fun &#8211; frustrating at times, but still good fun.</p>
<p>So I think I&#8217;ll stick with what works as described in the main post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-594</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 01 Aug 2008 15:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-594</guid>
		<description>Probably best to forget the 2 blog thing, that&#039;s just a red herring I feel.

Let&#039;s just say that in the root directory I have another website set up.

Basically I have installed the blog to a subdirectory and set it up as you describe except the &#039;public&#039; index.php and associated .htaccess file is in the original subdirectory I installed the blog in rather than the root directory.

So to use your original example, to see that page you would go to /wp/ and it will display, but in my case I don&#039;t see any text for what should be the front page of the blog, although everything else looks ok and all the links in the header and sidebar etc. point to the private area as you would expect.

Tim</description>
		<content:encoded><![CDATA[<p>Probably best to forget the 2 blog thing, that&#8217;s just a red herring I feel.</p>
<p>Let&#8217;s just say that in the root directory I have another website set up.</p>
<p>Basically I have installed the blog to a subdirectory and set it up as you describe except the &#8216;public&#8217; index.php and associated .htaccess file is in the original subdirectory I installed the blog in rather than the root directory.</p>
<p>So to use your original example, to see that page you would go to /wp/ and it will display, but in my case I don&#8217;t see any text for what should be the front page of the blog, although everything else looks ok and all the links in the header and sidebar etc. point to the private area as you would expect.</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Spry</title>
		<link>http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-592</link>
		<dc:creator>Stephen Spry</dc:creator>
		<pubDate>Fri, 01 Aug 2008 14:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-592</guid>
		<description>(edited by SS after having had time to test the theory... &lt;B&gt;it did not work&lt;/B&gt; but I&#039;ve left it here in case anyone wants to try the same concept themselves and maybe have better luck than I...)

Hey Tim

I&#039;ve only set this up with one WP install, and those instructions apply to that case, and don&#039;t quite understand where you put that &quot;unprotected&quot; index.php file mentioned above...

&lt;strike&gt;However, I would imagine, if you needed to do TWO WP installations, then you would need to modify slightly...

1. your second WP install at root level - no need to fiddle with that one.
2. original WP install (as described above) in /wp/
3. set up the members area in /members/ as described above.
4 - this is the different bit for your case - put the 3 files I described above that were in MY root directory (ie htaccess, index.php and 404.html) into a different directory - perhaps call it /public/.
5. You would NOW need to change the 401 redirect in the /members/.htaccess file to point to the new location i.e. ErrorDocument 401 /public/401.html
6. The /public/index.php file should now be changed to be IDENTICAL to the /members/index.php file - i.e. the require statement would need to match so it can find the installation in /wp/

End result - your 2nd blog at the root, your &quot;public&quot; front end to the members blog at /public/ and the 1st members blog at /members/. Does that work for you?

But I don&#039;t know why you need the 2nd install at all... unless you want to include a lot more &quot;public&quot; pages there, which is probably an OK idea.&lt;/strike&gt;

In which case... to &lt;B&gt;tie the two installations together&lt;/B&gt; (sort of) I want you to try to set up TWO new EMPTY &quot;PAGES&quot; (not posts) in the 2nd blog - this is the blog at the root level.

I&#039;m assuming you have custom permalinks set up to be /%postname%/ - so call these new EMPTY PAGES Members and Public. You&#039;ll notice that when the permalinks come into play, that the URLs to these &quot;pages&quot; are now...
yourdomain.com/public/ and yourdomain.com/members/

Surprise surprise... these are ALSO the paths to your &quot;public&quot; members page and the sealed members section... click on them from the links in the top level blog navigation, and you should go straight to the other blog. Clever little integration trick (I hope LOL)

Please let me know how that goes.

(edit - this second concept of using &quot;empty&quot; pages in your blog navigation to point to existing directories on your server does work - I&#039;m actually doing it on another older site which I am upgrading to Wordpress - and still keeping a LOT of the existing HTML sections in play - more on that when it&#039;s finished)</description>
		<content:encoded><![CDATA[<p>(edited by SS after having had time to test the theory&#8230; <b>it did not work</b> but I&#8217;ve left it here in case anyone wants to try the same concept themselves and maybe have better luck than I&#8230;)</p>
<p>Hey Tim</p>
<p>I&#8217;ve only set this up with one WP install, and those instructions apply to that case, and don&#8217;t quite understand where you put that &#8220;unprotected&#8221; index.php file mentioned above&#8230;</p>
<p><strike>However, I would imagine, if you needed to do TWO WP installations, then you would need to modify slightly&#8230;</p>
<p>1. your second WP install at root level &#8211; no need to fiddle with that one.<br />
2. original WP install (as described above) in /wp/<br />
3. set up the members area in /members/ as described above.<br />
4 &#8211; this is the different bit for your case &#8211; put the 3 files I described above that were in MY root directory (ie htaccess, index.php and 404.html) into a different directory &#8211; perhaps call it /public/.<br />
5. You would NOW need to change the 401 redirect in the /members/.htaccess file to point to the new location i.e. ErrorDocument 401 /public/401.html<br />
6. The /public/index.php file should now be changed to be IDENTICAL to the /members/index.php file &#8211; i.e. the require statement would need to match so it can find the installation in /wp/</p>
<p>End result &#8211; your 2nd blog at the root, your &#8220;public&#8221; front end to the members blog at /public/ and the 1st members blog at /members/. Does that work for you?</p>
<p>But I don&#8217;t know why you need the 2nd install at all&#8230; unless you want to include a lot more &#8220;public&#8221; pages there, which is probably an OK idea.</strike></p>
<p>In which case&#8230; to <b>tie the two installations together</b> (sort of) I want you to try to set up TWO new EMPTY &#8220;PAGES&#8221; (not posts) in the 2nd blog &#8211; this is the blog at the root level.</p>
<p>I&#8217;m assuming you have custom permalinks set up to be /%postname%/ &#8211; so call these new EMPTY PAGES Members and Public. You&#8217;ll notice that when the permalinks come into play, that the URLs to these &#8220;pages&#8221; are now&#8230;<br />
yourdomain.com/public/ and yourdomain.com/members/</p>
<p>Surprise surprise&#8230; these are ALSO the paths to your &#8220;public&#8221; members page and the sealed members section&#8230; click on them from the links in the top level blog navigation, and you should go straight to the other blog. Clever little integration trick (I hope LOL)</p>
<p>Please let me know how that goes.</p>
<p>(edit &#8211; this second concept of using &#8220;empty&#8221; pages in your blog navigation to point to existing directories on your server does work &#8211; I&#8217;m actually doing it on another older site which I am upgrading to WordPress &#8211; and still keeping a LOT of the existing HTML sections in play &#8211; more on that when it&#8217;s finished)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-591</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 01 Aug 2008 13:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmarketingtoolbox.com/2008/08/01/wordpress-htaccess-and-membership-sites/#comment-591</guid>
		<description>Thanks again for this awesome updated guide.

I have implemented it already pretty much as you have laid out except that I have 2 complete blogs - one in the root of the domain and the members one in a subdirectory, but my &#039;unprotected&#039; index.php for the members blog (which I&#039;ve placed in the subdirectory as my main blog is in the root directory) does not display any detail, just the header and sidebars.

The front page is a static page I&#039;ve set up, but it doesn&#039;t show, only my custom 404 page I have set up.
It works perfectly well when you view the index.php in the protected directory.

Any ideas on that?</description>
		<content:encoded><![CDATA[<p>Thanks again for this awesome updated guide.</p>
<p>I have implemented it already pretty much as you have laid out except that I have 2 complete blogs &#8211; one in the root of the domain and the members one in a subdirectory, but my &#8216;unprotected&#8217; index.php for the members blog (which I&#8217;ve placed in the subdirectory as my main blog is in the root directory) does not display any detail, just the header and sidebars.</p>
<p>The front page is a static page I&#8217;ve set up, but it doesn&#8217;t show, only my custom 404 page I have set up.<br />
It works perfectly well when you view the index.php in the protected directory.</p>
<p>Any ideas on that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

