![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2004
Location: USA
Posts: 817
|
![]() We would like to start taking advantage of our "404 Document Not Found" & "Authorization Required" hits with an ad page. Does anyone know how to do this. Is it a script or something that has to be loaded on the server end? Any help would be much appreciated....
![]() XOXOXO *Krystal* |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2005
Posts: 794
|
htaccess
__________________
I am a marketing Genius. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2005
Posts: 2,640
|
Make a .htaccess page with the following info:
ErrorDocument 400 http://www.site.com ErrorDocument 401 http://www.site.com ErrorDocument 403 http://www.site.com ErrorDocument 404 http://www.site.com ErrorDocument 500 http://www.site.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2005
Posts: 794
|
Here we go!
The following is an example use of the .htaccess ErrorDocument file to send '404' Page Not Found Errors to your own custom error page. You will see that it is so simple that it's almost silly... ![]() Simply make a text file in NOTEPAD (for a Windows based system) with the following: ErrorDocument 404 http://www.yourdomain.com/your-404-page.html Then save the file as ' .htaccess ' Then FTP it to your root web sites directory (the directory that the FTP puts you in when you first log-in). Thats it !
__________________
I am a marketing Genius. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
More Cowbell
Industry Role:
Join Date: Jul 2001
Location: Nakhom Nowhere
Posts: 10,607
|
Do a search for htaccess or take a look here : http://www.cleos-free-porn-links.com...aster-help.php
Its made by Cleo and It has a lot of handy tools ![]()
__________________
Truth Teller |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Marina WILL have my babies!
Industry Role:
Join Date: May 2003
Posts: 9,234
|
*** TIP - copy and paste the following in your .htaccess file to send all your error traffic to your hosted trap:
ErrorDocument 400 http://www.epicgals.com/epic404/? ErrorDocument 401 http://www.epicgals.com/epic404/? ErrorDocument 403 http://www.epicgals.com/epic404/? ErrorDocument 404 http://www.epicgals.com/epic404/? ErrorDocument 500 http://www.epicgals.com/epic404/? What each error/line means: 400 - Bad request 401 - Authorization Required 403 - Forbidden 404 - Wrong page 500 - Internal Server Error Replace the url to whatever you want it to go to. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Oct 2004
Location: USA
Posts: 817
|
Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.
So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day. XOXOXO *Krystal* |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Oct 2004
Location: USA
Posts: 817
|
Quote:
![]() XOXOXO *Krystal* |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Industry Role:
Join Date: Oct 2003
Location: North Carolina
Posts: 4,257
|
Quote:
http://clockwatchers.com/htaccess_tool.html http://htaccess.awstuff.com/ http://www.freewebmasterhelp.com/tutorials/htaccess/ and of course Google can give you tons more ![]() Ivy |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
|
Quote:
If it's true 404, you're missing out on a bunch of eyeballs, even figuring in the percentage that manipulate the URL looking for free shit.. BTW - there's no .htaccess for windows systems (as someone mentioned above). In windows, you need to set up a 404 redirect in the Internet Services console. Simple to do - just not as quick and easy as .htaccess. Another great site for error doc stuff, and everything else about .htaccess: http://www.javascriptkit.com/howto/htaccess2.shtml |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Oct 2004
Location: USA
Posts: 817
|
Thank you PrivateIvy and Fusionx.......I appreciate the additional info. I will let you guys know how it all turns out and if we get it working. As of now I think I hear Joe mumbling something about writing our tech guy at the host with all the info I'm gathering here at GFY.
![]() ![]() ![]() ![]() XOXOXO *Krystal* |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Oct 2004
Location: USA
Posts: 817
|
Thanks for all the help guys.......finally got my 404 page up.
![]() Click this non existent page and it should take you there http://www.camcutie.com/nopage.htm Let me know if that is a good page to keep up please. XOXOXO *Krystal* |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
|
heh ... ok here's were a server admin steps in:
ErrorDocument should only be used if your sending the bad hit back to your own server and then you use the path to the file. Example: ErrorDocument 404 /home/userid/domain.coc/htdocs/index.html If you are sending the bad hit off your server to another server then you need to use ReDirect. Example: Redirect 404 http://someothersite.com By using ErrorDocument 404 http://somesite.com you are creating a load on the machine. If you have enough power in your server you may not notice this but your apache error logs will suffer. Peace, JFPDude |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Oct 2004
Location: USA
Posts: 817
|
Thnaks JFPDude.......
![]() XOXOXO *Krystal* |
![]() |
![]() ![]() ![]() ![]() ![]() |