use url from contrib.sites for constructing urls - not the client's own url from dbsettings.