Reinserting domain/path check