This fixes #629 : redirecting to the url

@sujitbehera27 & @gordonwoodhull , please review.