Link correction for _layouts/15/WopiFrame.aspx URLs

Hi,  Just wondering if there is anyway to deal with links formatted with the following format,   

"http://siteurl/_layouts/15/WopiFrame.aspx?sourcedoc=<GUID>&file=<filename.extension>&action=default"