Link to section on another page not working

Ok i found the problem. I had renamed the pages in the page settings, but I had NOT renamed the slugs to match, so when it was linking, it was linking to the new page names, but webflow wasn’t seeing them because the slugs were still named with the old page names.