The first step is to make sure that the Sites pages preserve the old (pre-sites-migration) as much as possible (may not be able to get anchors within pages to be correct). The second is to then make sure that the spec references the correct URLs including anchors.
The first step is to make sure that the Sites pages preserve the old (pre-sites-migration) as much as possible (may not be able to get anchors within pages to be correct). The second is to then make sure that the spec references the correct URLs including anchors.