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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 05-13-2009, 03:49 PM   #1
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
Make a Custom 404 Error Page for Fun and Profit [[Tutorial]]

Hey guys, I wrote a short and sweet blog post on the ETU-Cash webmaster blog that talks about creating a custom 404 error page to take advantage of wayward visitors.

You can read it here!

I hope you enjoy it and can put it to good use, and if you liked it, or hated it, or just want an excuse to type something, leave a comment!
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-14-2009, 10:03 AM   #2
RenegadeCash Mark
Confirmed User
 
Join Date: Apr 2008
Location: Australia
Posts: 1,002
Good stuff Sands!
RenegadeCash Mark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-14-2009, 04:50 PM   #3
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
If you have access to httpd.conf you can add the following to it:

ErrorDocument 404 /missing.html

That'll let you have a custom missing.html on every site and not have to mess around with a .htaccess for each site.

Decent article tho.
CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-15-2009, 11:32 AM   #4
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
Quote:
Originally Posted by CYF View Post
If you have access to httpd.conf you can add the following to it:

ErrorDocument 404 /missing.html

That'll let you have a custom missing.html on every site and not have to mess around with a .htaccess for each site.

Decent article tho.
Nice tip, thanks
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-15-2009, 11:51 AM   #5
TXXXTN
Confirmed User
 
TXXXTN's Avatar
 
Industry Role:
Join Date: Mar 2009
Posts: 265
Quote:
Originally Posted by CYF View Post
If you have access to httpd.conf you can add the following to it:

ErrorDocument 404 /missing.html

That'll let you have a custom missing.html on every site and not have to mess around with a .htaccess for each site.

Decent article tho.
Where in the httpd.conf while would I add ErrorDocument 404 /missing.html ?
__________________
i need money.
TXXXTN is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-15-2009, 03:50 PM   #6
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
Quote:
Originally Posted by AmateurSets View Post
Where in the httpd.conf while would I add ErrorDocument 404 /missing.html ?
My httpd.conf has a section like this, and I simply uncommented that line and reloaded apache.

#
# Customizable error response (Apache style)
# these come in three flavors
#
# 1) plain text
#ErrorDocument 500 "The server made a boo boo.
# n.b. the (") marks it as text, it does not get output
#
# 2) local redirects
ErrorDocument 404 /missing.html
# to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# N.B.: You can redirect to a script or a document using server-side-includes.
CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-15-2009, 06:09 PM   #7
Rick Diculous
Confirmed User
 
Rick Diculous's Avatar
 
Join Date: Jul 2008
Posts: 2,370
nice. thanks for sharing
__________________
100+ adult blogs looking for hardlink trades
ICQ: 383 631 174
jason @ pornblogempire . com
Rick Diculous is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-26-2009, 08:14 AM   #8
pornocruto
Confirmed User
 
Join Date: Jan 2009
Posts: 1,308
Thanks for sharing Sands, great article..
__________________

Promote EXTREME porn
Earn EXTREME $$$$
Only @ cash.pornocruto.es
pornocruto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.