I am developing on local, and another plugin I am required to use for the project forced me to rename my local development url so that the license would see it as a development version of the licensed site, rather than another site/separate install. When I changed all the settings in my local config files and renamed it in MAMP, everything seemed fine until I tried to use my Yoast generated breadcrumbs. They were for the old url pattern still. I dug around for awhile trying to get things to re-index, but I couldn’t get any luck.
I found the wp_yost_* tables in the database and realized that you are indexing the whole URL in the permalink field on a post. You are not pulling the current site_url() from WP.
It took several hours to figure out, but I had to delete the Yoast SEO plugin, drop every table and delete every row with “wp-seo” and “yoast” in it, then re-install the plugin to get a fresh install, and subsequently a fresh post url permalink index triggered.
A site url change should be detected and then re-indexing should be triggered, OR the permalink indexing should be path only and should be dynamically generated by combing site_url() and permalink-path
- The topic ‘When site url is changed and Yoast breadcrumbs are wrong’ is closed to new replies.