Description
Each of my wordpress pages has the same Header that grabs the same Menu that I created on the WordPress dashboard. The header contains Home-About-Services-Contact-Resources.
Clicking Contact or Resources works fine from any page.
Clicking on the About or Services in the header works UNLESS I am on the home page.
When I click on About or Services from the home page, it takes me to an old slug. E.g. goes to the page /about-page-old instead of /about-page-new.
The website: https://finallyfunctionalnutrition.com/
How to recreate the bug
- From Home Page, I click on About in my header.
- Goes to mysite.com/about-page-old (this is an old page, which should not be on my main menu. I even checked the URL on the new page and its /about-page-new). My page shows the 404 page since this page no longer exists.
- Click on About page again, and it takes me to the correct about page. /about-page-new
Note 1: If you are on the home page, and you Inspect the About element, it will show an incorrect link (/about-page-old). If you do a hard refresh, it will show the correct menu (/about-page-new).
What I tried
I tried recreating the menu from scratch, checking the permalink structure, and deactivating all the plugins.