Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-10-03, 01:29 PM   #1
klinton
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Feb 2004
Posts: 47
Send a message via ICQ to klinton
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
klinton is offline   Reply With Quote
Old 2008-10-03, 02:00 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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]
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-10-03, 02:24 PM   #3
klinton
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Feb 2004
Posts: 47
Send a message via ICQ to klinton
Quote:
Originally Posted by Cleo View Post
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]
hmm but doesn't such method show site 'A' as referer ?

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
klinton is offline   Reply With Quote
Old 2008-10-03, 02:34 PM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Not really sure actually
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-10-03, 02:44 PM   #5
klinton
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Feb 2004
Posts: 47
Send a message via ICQ to klinton
Well Thanks anyway !

this .htaccess version works better than my previous with 'Redirect' command
__________________
always look on the bright side of life
klinton is offline   Reply With Quote
Old 2008-10-03, 06:18 PM   #6
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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/">
I don't believe that you can use javascript as it will show the original site.

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
cd34 is offline   Reply With Quote
Old 2008-10-04, 03:59 AM   #7
klinton
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Feb 2004
Posts: 47
Send a message via ICQ to klinton
Quote:
Originally Posted by cd34 View Post
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/">
I don't believe that you can use javascript as it will show the original site.

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.
unfortunately... Thanks
__________________
always look on the bright side of life
klinton is offline   Reply With Quote
Old 2008-10-09, 01:32 PM   #8
ecchi
Banned
 
ecchi's Avatar
 
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.
ecchi is offline   Reply With Quote
Old 2008-10-09, 01:57 PM   #9
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Old 2008-10-09, 02:55 PM   #10
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
The only question really is -- what legitimate reason do you have for blocking a referrer in the first place.
Yep, exactly my first thought and why I refrained from answering until I knew that.

__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:01 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc