![]() |
![]() |
![]() |
||||
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. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
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! ![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2008
Location: Australia
Posts: 1,002
|
Good stuff Sands!
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Coupon Guru
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. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Mar 2009
Posts: 265
|
Where in the httpd.conf while would I add ErrorDocument 404 /missing.html ?
__________________
i need money. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 | |
Coupon Guru
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
|
Quote:
# # 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. |
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Jan 2009
Posts: 1,308
|
Thanks for sharing Sands, great article..
|
![]() |
![]() ![]() ![]() ![]() |