![]() |
redirecting surfers from one domain
what is the fastest and easyest method to redirect surfers from one domain to another page?
please post the code thank u very much |
java?
window.document.location.href = "http://www.yahoo.com" |
the following refresh command in a meta tag. I can't post the whole code here its not allowed. You specify how many seconds before automatic redirect and the URL to redirect to.
eg: "REFRESH" CONTENT="2;URL=any.html" View the page source at talesfromthedick.com for the complete code. |
Quote:
Why are you laughing, this ain't funny. |
Quote:
|
If you want to forward all of the domains traffic, use an htaccess file with 404 directed toward the page you want
|
It it possible to forward the referring URL also?
|
Quote:
|
I was not laughing the haha were generated by the forum because the code you requested is not allowed here. Thus I sent you to a page where I have the code deployed.
You could also handle the redirection in an .htacess file but I did not know if you were runnign a *nix based site. If you are you can simply add: Redirect requested url http://anyurl As far as the referring stats you will not be able to redirect them but you can retrieve them from requested site/url stats. Hope this helps . . . Quote:
|
All times are GMT -7. The time now is 10:42 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123