• I like Yoast, it does most things well but I always end up wasting too much time trying to resolve canonical URLs when I launch a new website from DEV to LIVE.

    Yoast appears to store its own versions of the sites URLs and when you update the site_url and post URLs, everything switches over EXCEPT Yoast URLs – canonical URLs and Social OG image URLs appear to still reference the staging/dev server URL which is a nuisance,

    I have still not found an easy fix for this and generally spend hours playing around with settings, deactivating/reactivating, resetting, etc to get it to wake up to the new settings.

    This plugin would be so much better if they just had a button: “Update URLs” or even better- stop storing full URLs and use the site_url .. Or even just a help page with simple steps to fix the issue.

Viewing 1 replies (of 1 total)
  • Hi @whitsey,

    Thanks for your review.

    We can imagine how frustrating it’s when some of your SEO meta tags are incorrect after pushing changes from DEV to LIVE.

    If you’re copying the Yoast database tables from DEV to LIVE, you may need to use the Yoast Test Helper plugin on production to reset the Yoast indexables table. Otherwise, the SEO meta data on your production site may contain incorrect URLs pointing to the development domain.

    A solution to avoid this situation is to set the WP_ENVIRONMENT_TYPE variable to development on your development site. This will disable the SEO data optimization (SEO > Tools) on your development site and, therefore, prevent any mixed-up data between the development site and the live site. You’ll only need to run the SEO data optimization on the site you want to be indexed by search engines, i.e. production site.

    If you need further assistance, feel free to create a new topic in the plugin forum. Our support team will look into the issue and assist you further.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Good but migrating DEV to LIVE is still a problem’ is closed to new replies.