conditional for full url