Fixes #1930: Fixed domain based URL matching for website root