Pass the target URL to the permalink generator along with the object