If you use permalinks in your WordPress website there is no need to keep this shortlink code:
<link rel='shortlink' href='https://domain.com?p=712' />

If you use permalinks in your WordPress website there is no need to keep this shortlink code:
<link rel='shortlink' href='https://domain.com?p=712' />