<?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>「WordPress 2, .htaccess Protected Directory, and 404 Error」的迴響</title>
	<atom:link href="http://www.ju-ju.com/2006/03/17/wordpress-404-error/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error</link>
	<description>朱家兩大兩小在美國的生活 The Chus from the East</description>
	<lastBuildDate>Tue, 02 Mar 2010 20:01:33 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>作者：WordPress admin password protection 404</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-5352</link>
		<dc:creator>WordPress admin password protection 404</dc:creator>
		<pubDate>Wed, 24 Feb 2010 07:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-5352</guid>
		<description>[...] it works, but once I reboot, I get the same 404 problem. However, I&#039;ve found found a solution at ju-ju.com&#039;s WordPress 2, .htaccess Protected Directory, and 404 Error. While the author has pointed to a solution in a comment, his own solution (editing index.php) has, [...]</description>
		<content:encoded><![CDATA[<p>[...] it works, but once I reboot, I get the same 404 problem. However, I&#39;ve found found a solution at ju-ju.com&#39;s WordPress 2, .htaccess Protected Directory, and 404 Error. While the author has pointed to a solution in a comment, his own solution (editing index.php) has, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：朱朱</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3667</link>
		<dc:creator>朱朱</dc:creator>
		<pubDate>Fri, 03 Apr 2009 00:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3667</guid>
		<description>Liane. Glad that this old trick is still helpful. Enjoy.</description>
		<content:encoded><![CDATA[<p>Liane. Glad that this old trick is still helpful. Enjoy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Liane</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3666</link>
		<dc:creator>Liane</dc:creator>
		<pubDate>Thu, 02 Apr 2009 23:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3666</guid>
		<description>It worked! The error doc fixed didn&#039;t work for me - I&#039;ve got my index.php in the root and WordPress in another directory. Funny, I used the error doc fix yesterday, and it worked, but was a temporary solution, didn&#039;t work at all after that. 

Glad I found this article! Bookmarked...

Liane</description>
		<content:encoded><![CDATA[<p>It worked! The error doc fixed didn&#8217;t work for me &#8211; I&#8217;ve got my index.php in the root and WordPress in another directory. Funny, I used the error doc fix yesterday, and it worked, but was a temporary solution, didn&#8217;t work at all after that. </p>
<p>Glad I found this article! Bookmarked&#8230;</p>
<p>Liane</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：brasilblogger</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3064</link>
		<dc:creator>brasilblogger</dc:creator>
		<pubDate>Tue, 25 Nov 2008 15:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3064</guid>
		<description>Haha! And I thought, that I can&#039;t copy &amp; paste anymore. Because after my second comment, the code above in your posting was correct ... *ups*

.... so edit/delete my comment with the wrong quotes ... ;)</description>
		<content:encoded><![CDATA[<p>Haha! And I thought, that I can&#8217;t copy &amp; paste anymore. Because after my second comment, the code above in your posting was correct &#8230; *ups*</p>
<p>&#8230;. so edit/delete my comment with the wrong quotes &#8230; <img src='http://www.ju-ju.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：brasilblogger</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3063</link>
		<dc:creator>brasilblogger</dc:creator>
		<pubDate>Tue, 25 Nov 2008 15:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3063</guid>
		<description>Ok, the comments can&#039;t display this. ;(
So use always the right apostroph &gt;&gt; Alt+39 to find on the keyboard over the #</description>
		<content:encoded><![CDATA[<p>Ok, the comments can&#8217;t display this. ;(<br />
So use always the right apostroph &gt;&gt; Alt+39 to find on the keyboard over the #</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：brasilblogger</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3061</link>
		<dc:creator>brasilblogger</dc:creator>
		<pubDate>Tue, 25 Nov 2008 14:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3061</guid>
		<description>Oh, to the comment Mário Gamito a tip ... so your webserver shows not up php error ... but there are some in the code ... you have to use always &#039; instead of ’  

for example here:
$this_dir = dirname(__FILE__).’/&#039;;  &lt;&lt;&lt; wrong
$this_dir = dirname(__FILE__).&#039;/&#039;;  &lt;&lt;&lt; right 

define(’WP_USE_THEMES’, true);  &lt;&lt;&lt; wrong
define(&#039;WP_USE_THEMES&#039;, true);  &lt;&lt;&lt; right

require(’./wp/wp-blog-header.php’);   &lt;&lt;&lt; wrong
require(&#039;./wp/wp-blog-header.php&#039;);   &lt;&lt;&lt; right

if wordpress is on root:
 require(&#039;./wp-blog-header.php&#039;); 

Try it out. Hope it helps.</description>
		<content:encoded><![CDATA[<p>Oh, to the comment Mário Gamito a tip &#8230; so your webserver shows not up php error &#8230; but there are some in the code &#8230; you have to use always &#8216; instead of ’  </p>
<p>for example here:<br />
$this_dir = dirname(__FILE__).’/&#8217;;  &lt;&lt;&lt; wrong<br />
$this_dir = dirname(__FILE__).&#8217;/';  &lt;&lt;&lt; right </p>
<p>define(’WP_USE_THEMES’, true);  &lt;&lt;&lt; wrong<br />
define(&#8216;WP_USE_THEMES&#8217;, true);  &lt;&lt;&lt; right</p>
<p>require(’./wp/wp-blog-header.php’);   &lt;&lt;&lt; wrong<br />
require(&#8216;./wp/wp-blog-header.php&#8217;);   &lt;&lt;&lt; right</p>
<p>if wordpress is on root:<br />
 require(&#8216;./wp-blog-header.php&#8217;); </p>
<p>Try it out. Hope it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：朱朱</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3060</link>
		<dc:creator>朱朱</dc:creator>
		<pubDate>Tue, 25 Nov 2008 14:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3060</guid>
		<description>You are welcome, brasilblogger. Glad it works for you.

Hm... I just find out WordPress replaces all the quotation marks in the code section with the smart/curly quotes. Bad! On to finding out how to fix it...</description>
		<content:encoded><![CDATA[<p>You are welcome, brasilblogger. Glad it works for you.</p>
<p>Hm&#8230; I just find out WordPress replaces all the quotation marks in the code section with the smart/curly quotes. Bad! On to finding out how to fix it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：brasilblogger</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3059</link>
		<dc:creator>brasilblogger</dc:creator>
		<pubDate>Tue, 25 Nov 2008 14:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3059</guid>
		<description>The Textpattern Mod does not work, but your index.php hack works fine on Hostgator with WP2.6.3 ... Thanks for this solution! Greetz from Brazil, brasilblogger</description>
		<content:encoded><![CDATA[<p>The Textpattern Mod does not work, but your index.php hack works fine on Hostgator with WP2.6.3 &#8230; Thanks for this solution! Greetz from Brazil, brasilblogger</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：朱朱</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-3062</link>
		<dc:creator>朱朱</dc:creator>
		<pubDate>Tue, 25 Nov 2008 13:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-3062</guid>
		<description>Ya. That&#039;s what I am talking about. The nasty curly quotes. Just edited my post by replacing the single quotes with its HTML entity. Now the code should copy and paste correctly.

Sorry for the mess-up.</description>
		<content:encoded><![CDATA[<p>Ya. That&#8217;s what I am talking about. The nasty curly quotes. Just edited my post by replacing the single quotes with its HTML entity. Now the code should copy and paste correctly.</p>
<p>Sorry for the mess-up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：朱朱</title>
		<link>http://www.ju-ju.com/2006/03/17/wordpress-404-error/comment-page-1#comment-2785</link>
		<dc:creator>朱朱</dc:creator>
		<pubDate>Wed, 22 Oct 2008 20:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ju-ju.com/2006/03/17/wordpress-2-htaccess-protected-directory-and-404-error/#comment-2785</guid>
		<description>Did you try the Textpattern fix mentioned in the 1st comment? If that doesn&#039;t work and you are using my PHP code, is there a error_log file in your WordPress directory?</description>
		<content:encoded><![CDATA[<p>Did you try the Textpattern fix mentioned in the 1st comment? If that doesn&#8217;t work and you are using my PHP code, is there a error_log file in your WordPress directory?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
