?
What script do you use to Redirect you traffic?
Collapse
X
-
mod_geoip mod_rewrite .htaccessSince 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

Totally Free TemplatesComment
-
PHP Code:<? header("location:http://ok.com"); ?>
Comment
-
Well, there are many ways, how safe they are long term is unpredictable:Originally posted by johnbosh
wharts a google clean way?
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 refreshLast edited by StarkReality; 07-07-2004, 09:17 AM.Comment
-
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.GayPay X2 -- #1in the niche! $35 per sign! Up to 70% revenue share! http://www.gaypay.comComment

Comment