• Resolved Sansan

    (@zooky)


    After migrating a website to a new domain (and changing the URLs in the WordPress admin settings twice) I still see links to the old domain in the following tables:

    • wp_yoast_indexable
    • wp_yoast_seo_links

    These links don’t refer to posts in the usual way – like https://site.ext/post
    but instead through a server path: /home/username/domains/olddomain.ext/public_html/…

    How can I change this via the WordPress admin or in any other way, without having to mess around in the database (with the chance of breaking something?)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @zooky,

    Thanks for using Yoast SEO. We have seen unexpected issues where the previously optimized data is invalid or incomplete. We’ll start with a reset of the optimization to ensure we’ve removed any invalid data. Let’s cover a few important things to be aware of beforehand.

    First, we would understand if you were hesitant to reset the optimized data. We can assure you that your hard work will not be lost as the default WordPress tables also contain the SEO data. This process will only reset the custom Yoast tables with the combined data pulled from those default tables.

    Second, we recommend creating regular backups of your site and database for your site’s health and safety. Backups are especially important before making substantial changes to your website. It provides you with a safety net if something were to go wrong. Learn more about the benefits of regular backups.

    Thirdly, we highly recommend using a staging or testing site to reduce the impact on your live site. Some popular web hosts offer quick setups for a staging site, so please contact your web host for assistance. They will probably be able to help you out. If your web host does not offer staging sites, the WordPress plugin repository offers staging plugins, or you can create your own staging site. To run the data optimization, you must set the WordPress environment type to ‘production’ and restrict access to logged-in users. For some parts of the data optimization, you’ll also need to temporarily switch the subscription from your production site to your staging site.

    Now, back to the issue at hand. We know that resetting the data may sound intimidating, but our How to reset the Yoast indexables guide will walk you through the process step by step. We’ve also summarized the steps below.

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations‘, ‘Reset Prominent words calculation‘, and ‘Reset Internal link counter‘ buttons. After each click, the page will reload to confirm that the specific reset was successful.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Please let us know if the reported issue remains after resetting the optimized data.

    Thread Starter Sansan

    (@zooky)

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to adjust links after migration’ is closed to new replies.