Change redirect method for www to non-www url.