Featured Links

Other Topics




Quote of the Day

"Never get married in college; it's hard to get a start if a prospective employer finds you've already made one mistake."

Elbert Hubbard








 




 
Featured Javascript Articles

5 Simple Search Engine Optimization (SEO) Techniques
The lifeblood of any website/ecommerce business is traffic, and every webmaster knows the best type of traffic is natural, organic search engine traffic. There are two very important reasons for this: (1) it is extremely targeted, and (2) It is FREE! The ...

Designing for Search Engines
When you design a website, it's easy to focus on what your visitors are going to see. What you have to realise, though, is that you're going to have another kind of visitor with a completely different agenda: they're not going to be looking at your pretty ...

Overview of Web Content Management Systems
What are Content Management Systems (CMS) / Backend Systems?Although Content Management Systems may vary slightly among industry definitions, a common usage for a Content Management System is to add new content (information, articles, photos, music) to a ...




404 Not Found? Turn 404 Error Page into Profit!
 
Easy way to make money from Error 404.

A 404 error occurs whenever someone requests a URL that is not on your server. Either they have mistyped something, or you moved or deleted a document that used to be on your web site.

So why lost this traffic?

With two-three simple lines of code you can redirect 404 traffic to a sponsor and make money automatically:

sample redirects:

with .htaccess :

404notfoundredirect .htaccess sample #1
#404notfoundredirect
ErrorDocument 404 http://www.yoursponsor.com/?youraffiliateidhere

with .htaccess Apache's mod-rewrite:

404notfoundredirect .htaccess with Apache's mod-rewrite sample #3
If http://www.examplesite.com/url/file.html does not exist,
redirect to http://www.examplesite.com/index.php

Put this in your site .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) http://www.yoursponsor.com/?youraffiliateidhere

all wrong hits will be redirected to your site http://www.yoursponsor.com/?youraffiliateidhere

with javascript (put this page instead of moved/deleted page on your site)
404notfoundredirect Search Engine-Friendly JavaScript Redirect with Frames - sample #4



Go To Sponsor





<br /><body><br /><a href="http://www.yoursponsor.com/?youraffiliateidhere"><br />Please Visit my site sponsor</a><br /></body><br />


redirect with php:

404notfoundredirect Redirects with PHP - sample #5


More useful information about .htaccess, redirects, deny/allow
you can find at http://www.404notfoundredirect.com/



About the Author
None



Javascript News