Results 1 to 5 of 5
July 25th, 2007, 06:49 PM #1Programming 404 pages from expired blog entries
I have a couple of blogs [on my hosting that I pay for] where I also promote merchandise via affiliate links.
Many blog entries containing affiliate links from the year 2004 are no longer functional: the advertiser may have expired, or the product just isn't available. This situation has prompted me to delete some blog entries whole scale.
Pictures of the original entries must exist within Search Engines because people continue to click the invalid links.
CJ offers a report on the invalid links that still generate traffic.
When I click on the link [to the blog entry] reported to still drive traffic I notice an ugly 404 page that resembles a "parked domain with adsense" will be all that anyone will see and it directs traffic away from my domain to other businesses and I would like to thwart that especially since I am paying for the links:
That page will feature an ugly 404 page with the directions "try these sponsored results:" -- hey! Who's getting the money for the clicks to the "sponsored results?" I am not receiving any of that money.
I am disheartened because users who click wanting to see products from the year 2004 will only see an ugly 404 page that does not help the user and does not help me. 1&1 must be getting that money -- not me!
Can I re-program a 404 page? Where can I read instructions on how to change the 404 page so I can customize it?
Does anyone have any advice on how I should deal with this problem?
Thanks in advance.
Last edited by Rhia7; July 25th, 2007 at 07:07 PM.
July 25th, 2007, 07:17 PM #2Can I re-program a 404 page? Where can I read instructions on how to change the 404 page so I can customize it?
Now you can replace those boring errors such as NOTFOUND with any message you wish. The script also comes with a set of funny graphics to make your readers cherish the fact that something went wrong! Source: BIRDTRAP.CGI: The Friendly & Flexible Error Handler for Apache
Error 400 Bad Request
Error 401 Authorization
Error 403 Forbidden
Error 404 Missing
Error 500 Server Configuration Error
There're better ones out there, but I still like that one some times.
July 25th, 2007, 07:20 PM #3
Thanks for the suggestion, Mr. Sal. I'll look into that
The demo links don't seem to be working.
July 25th, 2007, 07:38 PM #4Originally Posted by Rhia7
I just tested one of my sites and the script still works fine.
But, I just tried to give them a 404 and it looks like they're no longer using their own script anymore.
July 26th, 2007, 01:10 AM #5
For a UNIX/Apache server you can add a line to your .htaccess file that will cause errors to go to your own 404.html page. First make your page and upload it and then add this line to your .htaccess file:
ErrorDocument 404 /errors/404page.html
If you wanted to call your page "error.html" just change that line to:
ErrorDocument 404 /errors/error.html
By Blair MacGregor in forum Couponer's CornerReplies: 4Last Post: July 24th, 2009, 01:24 PM
By markwelch in forum California Affiliate TaxReplies: 0Last Post: February 28th, 2009, 02:31 PM
By Doug247 in forum Search Engine OptimizationReplies: 5Last Post: July 24th, 2008, 02:19 PM
By nla in forum WebMerge (Fourthworld.com)Replies: 3Last Post: October 22nd, 2007, 04:19 PM
By davidh in forum Programming / Datafeeds / ToolsReplies: 5Last Post: June 12th, 2007, 09:45 AM