Fixed checking for www in routes

Fixed to stripos for case insensitive search and match exact boolean by
using '==='. Since if it is at start of haystack it may return 0