added support for non-www to www redirect