![]() |
|
| |||||||
| Notices |
| General Support Issues Answers to general questions and help with common problems. For help with a specific issue, post to one of the forums below. |
![]() |
| | Thread Tools |
|
#1
| |||
| |||
|
Hi, I am new here and would like some help if one of you knowledgeable people can help please. I need to block a country from being able to see my website, when you google and it comes up in the natural listings I either need it to be diverted to: http://www.bhrclinic.com/belgium_index.htm or just not available to be seen in the listings. Can you help and if so what do I do, I was given a code to put into the header but it did not work as I can still see the site when I google. The code is: <script language="JavaScript" > <!-- function geoip_country_code() { return 'GB'; } function geoip_country_name() { return 'United Kingdom'; } //--> </script> <script> if (geoip_country_code() == "BE") { document.location.href = "http://www.bhrclinic.com/belgium_index.htm"; } </script> Thanks in advance |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |