Hi Rolanda,
In the profile, Olivia (Unknown) Head, it appears that you have already added a URL/link to the image of the Ancestry 1850 census source on that profile. As Ros indicated, you can use an Ancestry Image external link template instead, {{Ancestry Image|dbid|imageid}}.
For example, for that particular source image, you could replace the URL with {{Ancestry Image|8054|4187293-00423}} (or {{Ancestry Image|8054|4187293-00423/17977821}}, if you'd like the info for W P Duke and household to be highlighted). Keep in mind that an Ancestry.com subscription may be required to view an Ancestry image to which you've linked.
The next time that Ancestry.com changes their URL structure, hopefully the tech folks here can just make a change to the template to fix all the resulting broken links that utilize the template.
Most US census records are available at the free Family Search site, which also provides nice source citations with links which you can just copy/paste. So I believe it's beneficial here to source census records from that site vs Ancestry or other subscription sites.
Some sources are only available on Ancestry.com. In those cases, if there is an image of the source, you can also add a publicly sharable image of the source image (no subscription needed to view). See this G2G post for details on how to do that.