Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14120 reviews 1680 hosting providers

Questions & Answers

Drupal/Show specific page only to visitors from a specific referral

Mar 24, 2013 by carebare
I want to show only visitors from a specific referral site a specific block on page in my Drupal site. I am using Drupal 7  and I am not able to find a way for my site to recognize the referring URL and act on it. Does anyone have any ideas how to do this? Your help is highly appreciated..
Many thanks

1 Answer

0 votes
Mar 24, 2013 by randy999
You could check using this code in your template
$_SERVER['The-HTTP-REFERER'];