Links in notification / alert emails corrupt after site migration

February 12th, 2009 | Categories: SharePoint, SharePoint administration

If you’ve moved the entire site collection by using stsadm –o backup and restore commands, you might notice that the email notifications either might not work or the links in email notifications might still point to the old URL. This can be resolved simply by using the following stsadm command on the destination server:

stsadm -o updatealerttemplates -url http://[portalnamehere] -filename "C:Program filescommon filesMicrosoft sharedweb server extensions12templateXMLalerttemplates.xml"

This fixed my corrupt links and even restored the nice look of the email.