Related Links

Bookmark and Share

Featured Links

Recommended Sites
Javascript Links





Quote of the Day

"We have a system that increasingly taxes work and subsidizes nonwork."

Milton Friedman



Recommended Products





 


 
Featured Javascript Articles

Acquiring a website template and choosing a good one
Website templates & layouts, you ask, yes? There are a lot of different kind of website templates etc. Also, how to choose between Free website template and Paid website template? You should account in that if you are aiming to get cash from your ...

Does Javascript Affect Ranking?
Almost all SEO's agree that using too much javascript can harm your rankings and might confuse the search engines. Is it true? We decided to answer this extremely simple question for the two leading search engines using a simple statistical analysis. ...

Eight Simple Steps For Enhancing Your Website
To be successful with your online business, whether you are selling your own product, services or are selling for other merchants as an affiliate, you need a Web site that focuses on that subject alone. The site must be easy to build, maintenance-free, ...

404 Not Found? Turn 404 Error Page into Profit!
 

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




Google
Javascript News