<?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: phpld-Create a 404 error page with phpLD2.1.2</title>
	<atom:link href="http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/</link>
	<description>My experiences with phpLD, and the Directory Industry!</description>
	<lastBuildDate>Mon, 30 Aug 2010 04:41:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: msolution</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-122</link>
		<dc:creator>msolution</dc:creator>
		<pubDate>Fri, 12 Mar 2010 07:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-122</guid>
		<description>@Simeone - this is a bug of phpLd 2.x , u should get in touch with support for this.

@Madmouse Web Directory - no i dont have the priginal codes, perhaps you could get in touch with &quot;Smub&quot; http://forums.digitalpoint.com/member.php?u=27173 he could possibly have the codes.</description>
		<content:encoded><![CDATA[<p>@Simeone &#8211; this is a bug of phpLd 2.x , u should get in touch with support for this.</p>
<p>@Madmouse Web Directory &#8211; no i dont have the priginal codes, perhaps you could get in touch with &#8220;Smub&#8221; <a href="http://forums.digitalpoint.com/member.php?u=27173" rel="nofollow">http://forums.digitalpoint.com/member.php?u=27173</a> he could possibly have the codes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madmouse Web Directory</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-121</link>
		<dc:creator>Madmouse Web Directory</dc:creator>
		<pubDate>Thu, 11 Mar 2010 19:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-121</guid>
		<description>It appears that the idk directory and blog is no longer and the article isn&#039;t available anymore. Would you happen to have the original code for phpLD 3x versions of this snippet? That would be great!</description>
		<content:encoded><![CDATA[<p>It appears that the idk directory and blog is no longer and the article isn&#8217;t available anymore. Would you happen to have the original code for phpLD 3x versions of this snippet? That would be great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simeone</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-97</link>
		<dc:creator>Simeone</dc:creator>
		<pubDate>Tue, 13 Oct 2009 08:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-97</guid>
		<description>I have the same problem.

You can see here:
http://www.webdirector.dap.ro/comunitati/something/service_pc/</description>
		<content:encoded><![CDATA[<p>I have the same problem.</p>
<p>You can see here:<br />
<a href="http://www.webdirector.dap.ro/comunitati/something/service_pc/" rel="nofollow">http://www.webdirector.dap.ro/comunitati/something/service_pc/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webfound</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-47</link>
		<dc:creator>webfound</dc:creator>
		<pubDate>Fri, 29 May 2009 19:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-47</guid>
		<description>first of all thank you and travel2.0 for the solutions.
I also found many errors in google webmaster tools

However, after applying this mod I still some problems.
i think the best way to describe is to give an example

/automotive/subcategory/arts/crafting/

automotive and arts are two main categories. in case of this url it will not be redirected to the 404 page, instead you see all the subcategories and links of the crafting category eventhough this structure does not exist.</description>
		<content:encoded><![CDATA[<p>first of all thank you and travel2.0 for the solutions.<br />
I also found many errors in google webmaster tools</p>
<p>However, after applying this mod I still some problems.<br />
i think the best way to describe is to give an example</p>
<p>/automotive/subcategory/arts/crafting/</p>
<p>automotive and arts are two main categories. in case of this url it will not be redirected to the 404 page, instead you see all the subcategories and links of the crafting category eventhough this structure does not exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Issa</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-36</link>
		<dc:creator>Issa</dc:creator>
		<pubDate>Sun, 15 Mar 2009 01:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-36</guid>
		<description>The addition of the line :
header(&quot;http/1.0 404 Not Found&quot;);

as indicated by Travel 2.0 is necessary if you want to use google webmaster tools.  Without it you will display a 404 page but it will return &quot;200 OK&quot; instead of the &quot;404 Not Found&quot; it is looking for.

The hack with the header line worked for me.</description>
		<content:encoded><![CDATA[<p>The addition of the line :<br />
header(&#8220;http/1.0 404 Not Found&#8221;);</p>
<p>as indicated by Travel 2.0 is necessary if you want to use google webmaster tools.  Without it you will display a 404 page but it will return &#8220;200 OK&#8221; instead of the &#8220;404 Not Found&#8221; it is looking for.</p>
<p>The hack with the header line worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: msolution</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-22</link>
		<dc:creator>msolution</dc:creator>
		<pubDate>Mon, 21 Jan 2008 14:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-22</guid>
		<description>Hi,
 you could put a http 404 header OR the tpl, either works just fine,
putting a 404 will dispay a normal 404 pag, using the hack as is will display a custom 404 page.

Regards,
M.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
 you could put a http 404 header OR the tpl, either works just fine,<br />
putting a 404 will dispay a normal 404 pag, using the hack as is will display a custom 404 page.</p>
<p>Regards,<br />
M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Travel 2.0</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-20</link>
		<dc:creator>Travel 2.0</dc:creator>
		<pubDate>Fri, 28 Dec 2007 15:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-20</guid>
		<description></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I think it&#8217;s necesary to add this line: header(&#8220;http/1.0 404 Not Found&#8221;); in order to the server returns a 404 status&#8230; if not it returns 200 (ok)</p>
<p><code><br />
if($id==0 &amp;&amp; strlen(request_uri()) &gt; 2 &amp;&amp; request_uri() != '/index.php' &amp;&amp; !isset($_REQUEST['q']))<br />
{<br />
        header("http/1.0 404 Not Found");<br />
        $path[] = array ('ID' =&gt; '0',  'TITLE' =&gt; _L('404 Page Not Found'), 'TITLE_URL' =&gt; ”, 'DESCRIPTION' =&gt; ”);<br />
        $tpl-&gt;load_filter('output', 'trimwhitespace');<br />
        echo $tpl-&gt;fetch('page404.tpl');<br />
        @ exit(0);<br />
} else if (!$tpl-&gt;is_cached('main.tpl', $id)) {<br />
        $path = get_path($id);<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: msolution</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-17</link>
		<dc:creator>msolution</dc:creator>
		<pubDate>Wed, 14 Nov 2007 11:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-17</guid>
		<description>Hi Selvam,
 you could look into this.  http://www.idk.in/blogs/?p=57

M.</description>
		<content:encoded><![CDATA[<p>Hi Selvam,<br />
 you could look into this.  <a href="http://www.idk.in/blogs/?p=57" rel="nofollow">http://www.idk.in/blogs/?p=57</a></p>
<p>M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Selvam</title>
		<link>http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/comment-page-1/#comment-16</link>
		<dc:creator>Selvam</dc:creator>
		<pubDate>Sat, 10 Nov 2007 15:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dir.vc/2007/08/22/phpld-create-a-404-error-page-with-phpld212/#comment-16</guid>
		<description>How can i create custom 404 error page for phpLD v3.1 ?????</description>
		<content:encoded><![CDATA[<p>How can i create custom 404 error page for phpLD v3.1 ?????</p>
]]></content:encoded>
	</item>
</channel>
</rss>
