API_OX urls on https
Improve template / in case of no affiliaiton