| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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 | 
| 
			
			
			
			 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!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 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.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 My mother was an EMU 
			
		
			
				
			
			
			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.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 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  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 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!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Drunk and Unruly 
			
		
			
				
			
			
			Join Date: Jan 2002 
				Location: Hollywood 
				
				
					Posts: 22,712
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		
		
	
		
		
		
		
			 
				__________________ 
		
		
		
		
	
	I've trusted my sites to them for over a decade... Webair, bitches.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Click on my TCG signature 
			
		
			
				
			
			
			Join Date: Feb 2002 
				
				
				
					Posts: 20,825
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		
		
	
		
		
		
		
			 
				__________________ 
		
		
		
		
	
	$9.95/month for 15000 GB bandwidth monthly, unlimited (sub)domains and MySQL5, PHP4/5, 500 GB disk storage!  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |