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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-30-2001, 09:55 PM   #1
Rictor
Old Timer
 
Industry Role:
Join Date: Jan 2001
Location: Indianapolis
Posts: 12,208
404 Traffic

How do I get a default page to pop-up on my server when some one types in a wrong page? Is this done with a CGI script?

------------------
PigPorn TGP Big Penis Webmaster Program - Free Bannerless Hosting!
Rictor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2001, 10:34 PM   #2
cygnet74
Registered User
 
Join Date: Jan 2001
Location: Los Angeles, CA
Posts: 41
Make an .htaccess file in the text editor of your choice with the following code:

ErrorDocument 404 http://www.url-of-your-choice.com

Drop the file in your root directory.
cygnet74 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-30-2001, 11:27 PM   #3
JT
My mother was an EMU
 
JT's Avatar
 
Join Date: Jan 1999
Location: In a Van Down by the River
Posts: 202
In Unix / Apache you can do it in a
.htaccess file

In IIS open Internet Services Manager
right click on the Web site you want to set the 404's for and click on properties
Then click on the Custonm Error pages Tab
and click on 404 error or any of the others you would like to redirect. Then click on edit Properties to change the page to something else.
JT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-31-2001, 02:00 AM   #4
oscer
Confirmed User
 
Industry Role:
Join Date: Jan 2001
Location: Baltimore
Posts: 2,834
Yes he is right .htaccess is right

But make sure your host has it turned on Cuase if they dont you will get a internal server error

------------------
Stynk Adult Freehost
oscer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-31-2001, 11:19 PM   #5
Rictor
Old Timer
 
Industry Role:
Join Date: Jan 2001
Location: Indianapolis
Posts: 12,208
Okay, I set up the .htaccess and sent my 404 traffic to my main page...now let's see how many more hits I'll get from all those old search engine listings to pigporn pages that no longer exist.

Thanks guys! It's nice to see that some people are still posting helpful replies instead of some of the BS on the board lately.

------------------
PigPorn TGP Big Penis Webmaster Program - Free Bannerless Hosting!
Rictor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-13-2003, 04:41 AM   #6
Pornwolf
Drunk and Unruly
 
Pornwolf's Avatar
 
Join Date: Jan 2002
Location: Hollywood
Posts: 22,712
I have been EATEN!

http://www.stormfront.org/forum/
__________________
I've trusted my sites to them for over a decade...

Webair, bitches.
Pornwolf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-13-2003, 04:41 AM   #7
Cash
Click on my TCG signature
 
Cash's Avatar
 
Join Date: Feb 2002
Posts: 20,825
I have been EATEN!

http://www.stormfront.org/forum/
__________________
$9.95/month for 15000 GB bandwidth monthly, unlimited (sub)domains and MySQL5, PHP4/5, 500 GB disk storage! ; use any of these invitation codes: 216263692101; 408636009193; 846090586647; my ICQ 30160426!
Cash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
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.