Search Replace Doesn’t Change URLs that are Already Indexed
-
I updated Yoast SEO to 14 and ran the indexing when working on a site locally. The site just went live and after doing my standard search/replace of urls there were still a bunch that were pointing to the local url. All of the urls were in schema and open graph tags from Yoast.
I’m not sure how the new indexing deal is storing the urls but a standard search/replace through wp cli isn’t catching these.
I tried running the
wp yoast index
but since things were already indexed this didn’t do anything.I ended up installing the helper plugin and resetting the indexing but I feel like there should be a different/easier way to do this.
In the future I know not to click that indexing until the site is in live mode but thoughts on a
wp search-replace
being able to change these urls or having something likewp yoast index --force
orwp yoast index reset
be able to do it instead of having to install the helper plugin?Thanks.
- The topic ‘Search Replace Doesn’t Change URLs that are Already Indexed’ is closed to new replies.