allow optional www. and remove strict ending /