<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1039367" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1039367</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/page404#comment-1223209</link>
    <description> &lt;p&gt;on an apache server, you can add the following line to the .htaccess file in the root of your web server:&lt;/p&gt;
&lt;p&gt;ErrorDocument 404 /404error.php&lt;/p&gt;
&lt;p&gt;The last portion is the file that will get called anytime the server detects a 404 error. (the same thing can be done for a 403 error; permission denied). This can be a static web page or a scripted page.  A few things to consider:&lt;/p&gt;
&lt;p&gt;1. This file does not always get called from the root directory, so always reference the page off of the root. (/404error.php instead of just 404error.php in my example)&lt;/p&gt;
&lt;p&gt;2. Also since this can get called from other directories, make sure all images/css/script files you reference are based off of the root directory (&lt;img src=&quot;/images/logo.gif&quot; instead of img if you are into tracking your this is a good place to write your own keep a log file of what pages are trying to be and what referers sent them after redesigning a site for a that had a ton of sites linking to internal i wrote a scrip that used a database lookup to find the for it also tracked hits that included a so i could contact the webmaster of those sites letting them know of the updates as these were usually business or educational they were glad to get the -greg /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 18 Aug 2007 04:53:34 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1223209 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
