| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				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 
			
		
			
			
			Industry Role:  
				Join Date: Jan 2004 
				
				
				
					Posts: 2,169
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				What script do you use to Redirect you traffic?
			 
			? 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	Fuck it dude, lets go bowling  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2002 
				Location: The Netherlands, Rotterdam 
				
				
					Posts: 8,965
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 http redirect 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Aug 2002 
				Location: The Netherlands, Rotterdam 
				
				
					Posts: 8,965
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 wharts a google clean way? 
		
	
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Jul 2004 
				
				
				
					Posts: 161
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 PHP Code: 
	
			
	![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Join Date: May 2004 
				Location: 4 8 15 16 23 42 
				
				
					Posts: 4,444
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 1. Simple JS redirect (window.location.replace): Still works with google without penalty, regardless of all rumors, but isn't the best way long term. 2. "Eval" JS: Good way, you split up different parts of the simple redirect and put them together via eval function again, this way a redirect detection looking for typical strings can't catch you that easy. 3. External JS: Great in combo with 2., you put the JS code in a separate file and include it on the page. Another advantage: If you ever want to change the redirect, you only have to edit a single file, not hundreds of pages The bad thing about all above: Once the surfer disables JS, the real page will show up, so make sure you doorways don't look like shit. 4. Flash: Yep, you can include a little flash file that contains nothing but a redirect...I wouldn't do it, too many users without flash out there still. There are many more ways, but the above are popular and easy. Couple of things Google does NOT like: Cloaking via CSS, 302 redirects, htaccess error redirects, parent window replacements, meta refresh  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Nov 2001 
				Location: Internet 
				
				
					Posts: 2,875
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 HTML Refresh or Redirect  
		
	
		
		
		
		
		
	
	One of the most requested items we get is "How do I make an html redirect page". Strangely enough this is one of the easiest things to accomplish, but then anything is easy when you know how to do it! Here's the code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> hahahahahaha> <title>Your Page Title</title> hahahahahaha hahahahahahahahahaha="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD> <BODY> Optional page text here. </BODY> </HTML> Code Description: hahahahahaha hahahahahahahahahaha="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"> is the part that actually does the redirecting. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url. You could set this to 5 and add some optional text to your page - something like: "Please wait while we redirect you to our new site". That's it! Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Confirmed User 
			
		
			
			
			Join Date: Oct 2001 
				Location: Between Zeina Heart and Lanny Barby 
				
				
					Posts: 386
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I made a php script and I use a database of ip's to redirect some countries to particular sponsors. 
		
	
		
		
		
		
		
	
	In some case, browser language can also be good.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |