Fix web URLs in content API

WIP on fixing the web URLs so that they use tags correctly, etc.