Linking to external url within search results

I have a database of online journals with their own unique urls that I would like users to be able to click through to within the hits widget. I can get hits to display the url and I can wrap the results in “a href”, but I cannot figure out how to make it clickable to the url. I added the urls (all unique) to the index as their own attribute. I have a feeling this is really basic.