AIFORYA Table of Contents builds a clickable table of contents from the headings in your content — and then keeps the resulting anchor links working.
In most tables of contents an anchor is derived from the heading text. Rename “Introduction” to “Foreword” and #introduction stops existing. Every link that pointed at it is now broken: your own internal links, links from other sites, links in newsletters you sent two years ago.
Nothing warns you. The page still returns 200, and the browser simply does not scroll.
A section is given its address when it is first published, and keeps it. The heading text can change, the section can be moved, the post can be split into pages — the address follows the content, never the wording or the position. Every heading text a section has ever had is kept as an alias, so older links keep resolving too.
Try it in thirty seconds: publish a post with two sections, copy a link to the second one, then swap the two sections around and rename one of them. Your link still lands on the right section.
<!--nextpage--> tag, the table lists the headings of every page and links to the right page and heading. This is the same promise applied across pages.[aiforya_toc] shortcode.The plugin runs entirely on your own server. Nothing is sent to any third party.
An advanced version (see aiforya.fr) adds a floating table of contents, numbering, word counts and smooth scrolling. This free version is fully functional on its own, with no time limit.