main view: set url of custom links succesfully