Forum Moderators: phranque
How can I make search engines like yahoo and google redirect to my entry pages from the search engine results links ... and his from verison go to the main page? I see the stats, but the boss claims that all the leads are only generated by verison...which I highly doubt.
I have tried this with .htaccess file of
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.google.com/
RewriteRule /* http://www.example.com/index.html [R,L]
but it did not work, so can this be done with IP addresses, I know it can block IP's but how do I do it?
Thanks in advance! :)
Mr Limited Abililites
[edited by: jdMorgan at 4:46 am (utc) on April 22, 2005]
[edit reason] Examplified. [/edit]
You could also just add a 'fake' query string to tag the Google/Yahoo referrals:
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://.+(google¦yahoo)\.com/
RewriteRule .* http://www.example.com/$1?credit_goes_to_price [R,L]
However, you should be able to directly sort your 'stats' by referrer anyway, so I'm not clear on why you have a problem separating Google and Yahoo referrers from Verizon referrers.
Jim
And the problem is that the boss has his telephone number on the site and gets all the calls so I have created separate pages with my number on it now. Bad situation, but some people's greed exceeds all decency and I do not wish to give up what was agreed upon and is rightfully mine. It's 12 months of my life and my income is directly effected:(