
This question has been answered by BobRay. See the first response.
[[FixSymlinks]]
/* FixSymlinks snippet */
$masterId = 12; // replace 12 with the ID of the master
$master = $modx->getObject('modResource', $masterId);
$alias = $master->get('alias');
$sls = $modx->getCollection('modResource', array('content' => $masterId));
if (empty($sls)) {
return "<p>No Symlinks found</p>";
}
$count = 0;
foreach($sls as $symlink) {
$symlink->set('alias', $alias);
if ($symlink->save()) {
$count++;
}
}
return "<p>" . $count . " Symlinks fixed</p>";
I'm afraid so. MODX doesn't maintain an internal link from a master to its Symlinks.

