YNOT
  • Home
  • Industry News
    • Adult Business News
    • Adult Novelty News
    • YNOT Magazine
    • EU News
    • Opinions
    • Picture Galleries
  • PR Wire
    • Adult Company News
    • Adult Retail News
    • Adult Talent News
    • Adult Videos News
  • Podcasts
  • Industry Guides
    • Adult Affiliate Guide
    • Affiliate Marketing for Beginners
    • Top Adult Traffic Networks
    • Top Adult PR Agents
    • Funding an Adult Business
  • Business Directory
    • View Categories
    • View Listings
    • Submit Listing
  • Newsletters
  • Industry Events
    • Events Calendar
    • YNOT Cam Awards | Hollywood
    • YNOT Awards | Prague
    • YNOT Cammunity
    • YNOT Summit
    • YNOT Reunion
  • Login with YNOT ID
YNOT University: Educational articles and tutorials

404 Redirects Made Easy

Posted On 12 Dec 2000
By : admin

For more information on .htaccess, check out our .htaccess Primer.When someone visits your site and requests a document that is not found there, they will receive what is known as a “404” or “Document Not Found” Error. If you do nothing to modify how your server responds to this error, you’re throwing away traffic and money.

The Problem
404 errors are generally generated in one of three ways: either because you moved or renamed a page without updating the referring hyperlink, because the surfer mistyped the URL while trying to enter it by hand, or because someone is trying to “guess” their way around your website. Let’s take a closer look at why some of these problems occur.


The first one is simple. You build a page and then submit it to search engines and link lists, etc. Later, you move it to a different directory, or change the name of it. I have done this before, when switching sites over to use Server Side Includes. My server required those pages to end in a “.shtml” extension. Unless I re-submitted my link everywhere, traffic that was going to “index.html” would receive a “404” and be “lost.” While you could easily use a redirection page to handle this traffic (which is what I did), there are other alternatives, as we will see later.

In the second example, a surfer mistypes the URL while entering it by hand (this will also cover erroneous submissions to search engines, et al, ‘recommendations’ to friends via email, true ‘type-in’ traffic, and all other such instances of transcription error). This is in simple terms a “fuck up” – but it’s still traffic worth preserving.

The final example is that of someone “guessing” their way around your site. They are trying to access your “members” area without purchasing a membership, or download your content by following a logical naming structure, i.e.: following your gallery page link to “pic01.jpg” and then without returning to the gallery page, manually entering “pic02.jpg” etc. If there is no “pic02.jpg” they will generate a 404 error.

“This is in simple terms a ‘fuck up’ – but it’s still traffic worth preserving.”

The Solution
While you cannot prevent most of these problems from happening, you can mitigate the results through the simplest incarnation of the mysterious “.htaccess” file. If you are unfamiliar with this file, it is a text file (named “.htaccess” and NOT “.htaccess.txt”) that contains commands for the Apache web server, telling it how to handle a variety of issues, including missing pages. In its simplest form (when used solely for 404 redirection) an .htaccess file need only contain one line:

ErrorDocument 404 http://AdultSiteListing.com/

“ErrorDocument” is the situation to be handled, “404” as we’ve discussed is the error code for missing pages. “http://AdultSiteListing.com/” is the URL that you wish the surfer to be directed to. This could be your home page, a help page, or even your sponsor. Some sponsors (like MaxCash with their “404 traps”) even offer special tools to help you profit from this traffic.

Upload this document to your root directory, and test it out. Type your URL in and add a bogus page name, such as bogus.htm. If you are transferred to the URL that you specified in the file, then everything worked. If not, check that your file is named correctly and was uploaded as an ASCII file. Still no luck? Well, this only works on a UNIX box – and you might be running NT!

For more information on .htaccess, check out our .htaccess Primer.

  • google-share
Previous Story

Merchant account checklist

Next Story

Every Webmaster’s Primer on 2257 Compliance, Part I

Leave a Reply Cancel reply

You must be logged in to post a comment.

YNOT University: Educational articles and tutorials

404 Redirects Made Easy

Posted On 12 Dec 2000
By : admin

For more information on .htaccess, check out our .htaccess Primer.When someone visits your site and requests a document that is not found there, they will receive what is known as a “404” or “Document Not Found” Error. If you do nothing to modify how your server responds to this error, you’re throwing away traffic and money.

The Problem
404 errors are generally generated in one of three ways: either because you moved or renamed a page without updating the referring hyperlink, because the surfer mistyped the URL while trying to enter it by hand, or because someone is trying to “guess” their way around your website. Let’s take a closer look at why some of these problems occur.

(more…)

  • google-share
Previous Story

Merchant account checklist

Next Story

Every Webmaster’s Primer on 2257 Compliance, Part I

Leave a Reply Cancel reply

You must be logged in to post a comment.

Sponsor

YNOT Shoot Me

YNOTShootMe.com has exclusive pics from adult industry business events. Check it out!

YNOT Directory

  • Kiiroo
    Novelty & Lingerie Manufacturers
  • Eldorado Trading Company
    Novelty & Lingerie Distributors
  • White Label Cash
    Live Cam Affiliate Programs
  • Premiere Listing

    YNOT Mail

    More Details

RECENT

POPULAR

COMMENTS

Free Speech Coalition

FSC Decries Supreme Court’s “Radical Departure from Precedent”

Posted On 30 Jun 2025

Beth McKenna has "A Very Productive Meeting" with Leilani Lei & Savvy G

Posted On 30 Jun 2025

Ricky’s Room Drops Kinky New Liz Jordan Scened

Posted On 30 Jun 2025

Vanessa, Meet Vivid

Posted On 29 Sep 2014
Laila Mickelwaite and Exodus Cry

Laila Mickelwaite, Exodus Cry and their Crusade Against Porn

Posted On 03 May 2021

Sex Toy Collective Dildo Sculptor

Posted On 19 Mar 2019

Find a good sex toy is now a problem,...

Posted On 18 Mar 2024

Thanks to the variety of sex toys, I can...

Posted On 02 Feb 2024

I understand the concerns about...

Posted On 05 Jan 2024

Sponsor

Sitemap
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkPrivacy Policy