|
Redirect surfers based on what they searched for Freeware Version 1.0 Description I started writing a little script which would look at surfers coming in from google and other search engines, decide what they had searched for, and then decide whether or not to redirect them. I managed to do it without using ANY cloaking-style techniques - techniques I know google doesn't like. The script looks at the phrase they searched for and then either shows them the page or redirects them. Here's an example. First of all have a look at my demo google page. You'll have to use your imagination because this page doesn't look much like GOOGLE! http://www.tomsnewbiebooster.com/resources/surfer-redirect/search.php OK once you're there, search for [p]foot fetish[/p]. And you'll now get this page: http://www.tomsnewbiebooster.com/resources/surfer-redirect/search.php?phrase=foot+fetish ... and my site will be listed number one. Wahoo! The trouble is that let's say this is an area for webmasters and has no adult content on there. I want to redirect any surfers who are looking for porn. Try clicking on the link. You'll be redirected to google - but this URL can be changed to ANY page you want it to. Possible Uses You might have pages specifically for webmasters, which are not relevant to surfers and where surfers cannot make you any money. You could decide you want to redirect surfers searching for illegal terms, or words like 'free' in them, or even words like 'free passwords'. It's up to you. Download & Installation Download the script here: DOWNLOAD 1) Download the script. 2) Unzip it into a folder on your hard disk. 3) Open up surfer-redirect.php and add the URL you want to send surfers to, as well as the keywords which will trigger a redirect. That's the only editing which is required on that file. 4) Upload those files. 5) On the pages you'd like to check whether the visitors is a webmaster or a real surfer - add this to the head tag: <!--#include virtual="surfer-redirect.php" --> NOTE: You must be able to run SSI on html pages. Please ask on TNB if you are unsure about this or any other part of installation. That's it. Give me a shout if you get stuck... Version Updates ... none yet Enter Tom's Newbie Booster here More tips, scripts and help... |