We can use `polymorphic_url` instead of manually setting the domain every time. This is a bit of a hack in order to comply with the validation rule which says related content must start with the URL defined in `Setting["url"]`.