<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: logging 404 errors on your site and generating traffic from it</title>
	<atom:link href="http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/</link>
	<description>Technology tips for all</description>
	<lastBuildDate>Thu, 29 Jul 2010 06:37:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sachin Khosla</title>
		<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/#comment-10305</link>
		<dc:creator>Sachin Khosla</dc:creator>
		<pubDate>Tue, 10 Nov 2009 06:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=660#comment-10305</guid>
		<description>Its URI and its the part after your domain example 
http://digimantra.com/any_part_after_this_is_URI</description>
		<content:encoded><![CDATA[<p>Its URI and its the part after your domain example<br />
<a href="http://digimantra.com/any_part_after_this_is_URI" rel="nofollow">http://digimantra.com/any_part_after_this_is_URI</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alap</title>
		<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/#comment-10304</link>
		<dc:creator>Alap</dc:creator>
		<pubDate>Tue, 10 Nov 2009 06:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=660#comment-10304</guid>
		<description>I am not a Programming guy.

There&#039;s a typo in the Point 2?
&quot;magical file which handles the bad URI&quot;
It should be URL right??

It&#039;s the Exceptions that prove the rule right??!!</description>
		<content:encoded><![CDATA[<p>I am not a Programming guy.</p>
<p>There&#8217;s a typo in the Point 2?<br />
&#8220;magical file which handles the bad URI&#8221;<br />
It should be URL right??</p>
<p>It&#8217;s the Exceptions that prove the rule right??!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raph</title>
		<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/#comment-1735</link>
		<dc:creator>Raph</dc:creator>
		<pubDate>Thu, 18 Jun 2009 05:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=660#comment-1735</guid>
		<description>... If I would cache them, I’d use a database, not a file, unless I’m expecting a sh..load of logs ...

I misplaced that... should be after &quot;... and process them to readable data.&quot;</description>
		<content:encoded><![CDATA[<p>&#8230; If I would cache them, I’d use a database, not a file, unless I’m expecting a sh..load of logs &#8230;</p>
<p>I misplaced that&#8230; should be after &#8220;&#8230; and process them to readable data.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raph</title>
		<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/#comment-1734</link>
		<dc:creator>Raph</dc:creator>
		<pubDate>Thu, 18 Jun 2009 05:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=660#comment-1734</guid>
		<description>I would agree with Leafnode. You could just write a script that pulls all 404&#039;s from a specific date and process them to readable data.

Regarding your script: although all open resources (except persistent connections) will be closed at script end, I&#039;d recommend close the file stream through fclose($fH). If I would cache them, I&#039;d use a database, not a file, unless I&#039;m expecting a sh..load of logs.

header(&quot;Location:http://www.mydomainname.com/?s=$fail_query&quot;);
//will never go beyond this
 
You can&#039;t be sure of that. If you want the script to end there, always use &#039;exit&#039; (or die(), which of course is an alias of exit).</description>
		<content:encoded><![CDATA[<p>I would agree with Leafnode. You could just write a script that pulls all 404&#8242;s from a specific date and process them to readable data.</p>
<p>Regarding your script: although all open resources (except persistent connections) will be closed at script end, I&#8217;d recommend close the file stream through fclose($fH). If I would cache them, I&#8217;d use a database, not a file, unless I&#8217;m expecting a sh..load of logs.</p>
<p>header(&#8220;Location:http://www.mydomainname.com/?s=$fail_query&#8221;);<br />
//will never go beyond this</p>
<p>You can&#8217;t be sure of that. If you want the script to end there, always use &#8216;exit&#8217; (or die(), which of course is an alias of exit).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily Digest for June 16th &#124; Squirrel Hacker</title>
		<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/#comment-1718</link>
		<dc:creator>Daily Digest for June 16th &#124; Squirrel Hacker</dc:creator>
		<pubDate>Tue, 16 Jun 2009 23:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=660#comment-1718</guid>
		<description>[...] logging 404 errors on your site and generating traffic from it &#124; DigiMantra &#8212; 11:31am via [...]</description>
		<content:encoded><![CDATA[<p>[...] logging 404 errors on your site and generating traffic from it | DigiMantra &mdash; 11:31am via [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leafnode</title>
		<link>http://www.digimantra.com/tutorials/logging-404-errors-on-your-site-and-generating-traffic-from-it/#comment-1713</link>
		<dc:creator>Leafnode</dc:creator>
		<pubDate>Tue, 16 Jun 2009 06:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.digimantra.com/?p=660#comment-1713</guid>
		<description>I&#039;d like to note that all 404 errors are logged by webserver - in case of Apache it&#039;s errorlog file for given virtual server.

I know that it&#039;s not the case here, but sometimes, when URLs are being constructed dynamically via RewriteEngine, sometimes people forget to send 404 code for non-existant pages, which breaks many things, for instance automated link checking, bookmark verification etc.</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to note that all 404 errors are logged by webserver &#8211; in case of Apache it&#8217;s errorlog file for given virtual server.</p>
<p>I know that it&#8217;s not the case here, but sometimes, when URLs are being constructed dynamically via RewriteEngine, sometimes people forget to send 404 code for non-existant pages, which breaks many things, for instance automated link checking, bookmark verification etc.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
