Short of using an extension, is it possible to redirect would-be visitors to another site based on their IP address/range?
I used to do on my DNN sites, but knowing web.configs and not htaccess stuff, I thought I would ask if I could drop some php in there to get 'er done. Something like this work?
<?
$visitor = $_SERVER['REMOTE_ADDR'];
if (preg_match("/96.xxx.xx.xx/",$visitor)) {
header('Location: http://www.fbi.gov');
} else {
header('Location: http://www.myURL.com');
};
?>