Forum Discussion
Anchor links in News page
This might be fixed now as of August 2019.
SPO makes any text where you use the "header" style into a potential anchor.
Publish the page and then mouse over the header text. You'll see a little link icon.
Right click and copy the link. That's your header link INTERNAL TO THE PAGE
If you want to use the link in a menu, you have to modify it. If your anchor link was something like this:
https://XXX.sharepoint.com/sites/XXX/SitePages/Human-Resources.aspx#benefits
To get to that anchor via a menu item you have to add a '?' before the anchor hash tag thusly:
https://XXX.sharepoint.com/sites/XXX/SitePages/Human-Resources.aspx?#benefits
HUGE thanks to Doug Allen writing at the C5 Insight page for discovering this little trick...
https://www.c5insight.com/Resources/Blog/tabid/148/entryid/736/the-incredibly-easy-no-code-solution-to-simple-anchor-tags-in-sharepoint-navigation.aspx