Sciencetext Tips & Tricks

Blogging tips, browsing tricks and computing hacks

Redirecting Traffic

April 25th, 2008 · by David Bradley

Learn with SciencebaseOver on Adesblog.com a couple of very useful tips - one about getting the most out of StumbleUpon traffic, the other about saving face when you sell a site - got me thinking about how I could make the most of visitors from specific websites.

Sciencebase gets a lot of traffic from a particular educational website in the US. That site links to the main Sciencebase homepage, which is not particularly tailored to science students. However, just this week, I created a portal-type page (inspired by a tip on Dosh Dosh) that provides links to science educational content on the site, such as chemistry homework help, science videos, and science fair project ideas. It would make sense for the visitors from the educational site to get to this page directly rather than losing themselves while navigating the rest of the site.

So, following the instructions on Adesblog.com, I created a piece of code that is simply pasted into the .htaccess file in the root of the Sciencebase server.

The code looks like this:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} referrerURL\.com/
RewriteRule ^$ www.redirectedURL.com [R=301,L]

The “RewriteCond %{HTTP_REFERER} referrerURL\.com/” part detects whether visitors have arrived from a specific site (I switched the word “referrer” for the actual domain of the science education site). The result has been a significant increase in conversions on specific targets now featured on that landing page.

The next command “RewriteRule ^$ /specific-page.html [R=301,L]” then redirects only those visitors to the specific page, in this case I used “/learn-with-sciencebase.html”.

You hopefully get the picture (make sure you back up .htaccess before you make any changes) but let your imagination run wild. What specific pages would you like visitors from specific sites to see. You could present top new content to Diggers or Stumblers, for instance, as well as asking them kindly to Digg or Stumble you. If you have lots of traffic to your homepage from any given site, think about what those visitors might like to see most, create a new page, just for them, and use the redirect to send them straight to it.

If you plan to meddle with your .htaccess, please create a backup first. Once you’ve edited the file you can validate it here. The team there can also solve your problems for a fee, or you could come back here and leave a request for assistance in the comments.

6 responses so far ↓

  • Jonny // Apr 27, 2008 at 6:21 am

    Quite interesting. I didn’t even know you could do that (redirect traffic based on where it came from) … learning all the time. I’ve got a site that’s getting a HUGE amount of stumbleupon traffic… But I dont know, it’s not really worth that much as far as $$$. But it’s still cool to have a lot of people see your site. And it can get it to go “viral” somewhat as people will send your link around to others or put it up on forums and whatnot.

    Jonnys last blog post..738 Hops = 1 Sale

  • David Bradley // Apr 27, 2008 at 10:06 am

    Jonny, like I say it’s working for me for a specific set of visitors. I wouldn’t of course recommend using it for any visits from social media sites, but you can use something like the Socialize Me plugin to give your SU and Digg visitors a slightly different experience when they hit your site from a tagged page.

    db

  • Farhaj // Apr 27, 2008 at 3:04 pm

    I have also used stumbleupon but I never figured out how to make the most out of it. Now I am going to think about implementing those tips and codes to my website and think about earning more $ from the traffic incoming. Thank you!

  • David Bradley // Apr 27, 2008 at 3:10 pm

    Farhaj - remember, ask not what social media can do for you, but what you can do for social media. Keep that in mind and the rest will follow.

    db

  • Wayne Smallman // Apr 29, 2008 at 10:11 pm

    I like this, but I can’t think of what to do with it.

    David, what was the code you used for the image traffic? You had something similar, where the visitor was taken to a specific page with the image on it…

    Wayne Smallmans last blog post..Microsoft “Office Lite” to take on Google Docs? Part 2

  • David Bradley // Apr 29, 2008 at 10:15 pm

    It’s not quite the same, but similar. I’ll be posting about that separately at a later date…

    db

Leave a Comment

Comments are checked for spam before appearing, no need to post it twice.

Related Posts