check the url against the locale as well