Added ability to handle www prefixes.