Ok, if you add one more parameter to the capture method so that it is comparing the 1st capture group (the stuff between http:// and /) then it should work. [PB: IF( Capture("[PB:Request.Url]","http://([^/]+)/?(.*)", 1 ) != "www.pokerdiy.com" ) {
[PB: Response.Status("301 Moved Permanently") ]
[PB:Response.AddHeader("Location","http://www.pokerydiy.com/$2")]
[PB: Response.End() ]
} else{
/title>
}] |