Fixed using MODX link tags + checking headers of the full url to throw an error or not