Results 1 to 5 of 5
  1. #1
    What's the word? Rhia7's Avatar
    Join Date
    January 13th, 2006
    Posts
    9,578
    Question Programming 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:

    i.e. http://www.hostingIpayfor.com/2004/0...edproduct.html

    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 08:07 PM.
    ~Rhia7 -- Remember the 7
    Twitter me

  2. #2
    ABW Veteran Mr. Sal's Avatar
    Join Date
    January 18th, 2005
    Posts
    6,795
    Can I re-program a 404 page? Where can I read instructions on how to change the 404 page so I can customize it?
    This is old (Released: January 3, 1999), but I still use it on some old sites:

    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
    You can play around with any of these output pages:
    Error 400 Bad Request
    Error 401 Authorization
    Error 403 Forbidden
    Error 404 Missing
    Error 500 Server Configuration Error
    Unknown Error
    And put, whatever you want to display on those error pages.

    There're better ones out there, but I still like that one some times.

  3. #3
    What's the word? Rhia7's Avatar
    Join Date
    January 13th, 2006
    Posts
    9,578
    Thanks for the suggestion, Mr. Sal. I'll look into that

    The demo links don't seem to be working.
    ~Rhia7 -- Remember the 7
    Twitter me

  4. #4
    ABW Veteran Mr. Sal's Avatar
    Join Date
    January 18th, 2005
    Posts
    6,795
    Quote Originally Posted by Rhia7
    Thanks for the suggestion, Mr. Sal. I'll look into that

    The demo links don't seem to be working.
    Sorry Rhia,

    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.


  5. #5
    ABW Ambassador 2busy's Avatar
    Join Date
    January 17th, 2005
    Location
    Tropical Mountaintop
    Posts
    5,636
    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

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Programming/Solutions for Expired Coupons
    By Blair MacGregor in forum Couponer's Corner
    Replies: 4
    Last Post: July 24th, 2009, 02:24 PM
  2. Links to articles and blog entries about CA AB 178 ("Amazon Tax")
    By markwelch in forum California Affiliate Tax
    Replies: 0
    Last Post: February 28th, 2009, 03:31 PM
  3. 404 Pages
    By Doug247 in forum Search Engine Optimization
    Replies: 5
    Last Post: July 24th, 2008, 03:19 PM
  4. 4-tier page; only single entries in some index pages
    By nla in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: October 22nd, 2007, 05:19 PM
  5. 404 pages
    By davidh in forum Programming / Datafeeds / Tools
    Replies: 5
    Last Post: June 12th, 2007, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •