compile url