![]() |
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 ! |
htaccess should do what you want
Make a directory with a htaccess file in in and put this in the file. Code:
RewriteEngine on |
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 |
Not really sure actually
|
Well Thanks anyway :) !
this .htaccess version works better than my previous with 'Redirect' command :) |
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:
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. |
Quote:
|
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.
|
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. |
Quote:
:) |
All times are GMT -4. The time now is 08:04 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc