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 07-07-2004, 04:29 AM   #1
mrgica
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
mrgica is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:30 AM   #2
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
http redirect
johnbosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:32 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
mod_geoip mod_rewrite .htaccess
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:37 AM   #4
johnbosh
Confirmed User
 
Join Date: Aug 2002
Location: The Netherlands, Rotterdam
Posts: 8,965
wharts a google clean way?
johnbosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 04:43 AM   #5
Hosting-Quote
Confirmed User
 
Join Date: Jul 2004
Posts: 161
PHP Code:
<?
header("location:http://ok.com");
?>
Hosting-Quote is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 10:16 AM   #6
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
Quote:
Originally posted by johnbosh
wharts a google clean way?
Well, there are many ways, how safe they are long term is unpredictable:

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

Last edited by StarkReality; 07-07-2004 at 10:17 AM..
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 10:26 AM   #7
macho
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.
macho is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2004, 11:28 AM   #8
Mikel
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.
Mikel 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.