|
2008-10-03, 01:29 PM | #1 |
WHO IS FONZY!?! Don't they teach you anything at school?
|
i need to setup redirection...
I would have link on some site,let's say 'A', and I need to setup that link in way to do not show that main site 'A' as referer while surfer visits destination url...
any ways for setting this up besides link to site B with metarefresh tag to site C (destination url) ? ..and besides _target tag Thanks !
__________________
always look on the bright side of life |
2008-10-03, 02:00 PM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
htaccess should do what you want
Make a directory with a htaccess file in in and put this in the file. Code:
RewriteEngine on RewriteRule .* http://www.whereyouwantthemtogo.com/*[R=301,L] |
2008-10-03, 02:24 PM | #3 | |
WHO IS FONZY!?! Don't they teach you anything at school?
|
Quote:
let's say I have link on google.com to cnn.com/test , on cnn.com/test i have this .htaccess -> redirecting to bbc.co.uk... Wouldn't be google showed as referer in bbc.co.uk stats ? hmm
__________________
always look on the bright side of life |
|
2008-10-03, 02:34 PM | #4 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Not really sure actually
|
2008-10-03, 02:44 PM | #5 |
WHO IS FONZY!?! Don't they teach you anything at school?
|
Well Thanks anyway !
this .htaccess version works better than my previous with 'Redirect' command
__________________
always look on the bright side of life |
2008-10-03, 06:18 PM | #6 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
The only way to do it without a referrer that I can think of would be to send them to a page that did a meta-refresh with a 0 second delay
Code:
<meta http-equiv="refresh" content="0;http://newsite.com/"> so, to use the refresh, set your errordocument 404 to head to the page with your meta refresh, then, have the metarefresh page set to send them to the new page. Using Redirect or mod_rewrite will send the referrer in the request.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2008-10-04, 03:59 AM | #7 | |
WHO IS FONZY!?! Don't they teach you anything at school?
|
Quote:
__________________
always look on the bright side of life |
|
2008-10-09, 01:32 PM | #8 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Is it not possible to set up a script (Perl, PHP etc) that will write the header when you redirect that will state a fake referrer? I've ever tried it, but I'm sure I heard mention of it way back when I first studied Perl.
|
2008-10-09, 01:57 PM | #9 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
To actually not show a referrer is easy using a meta-refresh. Getting the browser to do it automatically requires a change to the config in firefox, or, a registry edit for IE.
The only question really is -- what legitimate reason do you have for blocking a referrer in the first place.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2008-10-09, 02:55 PM | #10 | |
That which does not kill us, will try, try again.
|
Quote:
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
|
|
|