• Resolved ispreview

    (@ispreview)


    I don’t use the Text Link Counter feature, but the table still holds quite a lot of data. Is it safe to prune this? Also, how can I stop new entries being added even though I don’t and never want to use the feature?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Suwash

    (@suascat_wp)

    @ispreview

    The entries in the wp_yoast_seo_links are built from your own content on your site. Yoast SEO scans your posts and pages and links, both internal and external are listed in this table. This is then used by a couple of our features such as the internal linking feature suggestions and text link counter to count links going both to internal as external links on your posts.

    You can disable the feature by going to SEO > General > Features and toggle Text Link Counter to Off.

    Plugin Support Suwash

    (@suascat_wp)

    Adding this filter code add_filter( 'wpseo_should_index_links', '__return_false'); to the functions.php file of your theme will prevent creating data in that table.

    Thread Starter ispreview

    (@ispreview)

    I tried that already Suwash, as well as this slightly different code (below), but it didn’t stop links being added to the table. Again, this is with Text Link Counter set to Off.

    add_filter( 'wpseo_should_index_links', function() {
    	return false;
    } );

    But so far nobody has said whether it’s safe to empty the table of its existing data, since I don’t use the associated features.

    • This reply was modified 2 years, 5 months ago by ispreview.
    • This reply was modified 2 years, 5 months ago by ispreview.
    Plugin Support Michael Tiña

    (@mikes41720)

    Hi @ispreview

    Would it be possible for you to clear the data from the text link counter using the Yoast Test Helper plugin?

    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 Internal link counter’ button. The page will reload to confirm that each reset was successful.

    For your site’s health and safety, we recommend creating regular backups of your site and database. This is especially important before installing, updating or removing plugins. Learn more about the benefits of regular backups.

    Please then make sure that the text link counter feature is turned off under SEO > General > Features tab.

    Could you check if it then doesn’t populate any further data in the wp_yoast_seo_links table?

    Thread Starter ispreview

    (@ispreview)

    I’ve already used PhpMyAdmin to empty the table, but the plugin is still adding new links with every new post I make.

    As I’ve said, this is with both the extra functions.php code and the text link counter set to ‘off’ (red highlight over the top of button).

    But I do wonder if the ‘Link suggestions’ feature may be the problem here. I don’t have the premium version of this plugin, but under ‘Features’, Link suggestions is shown as ‘Enabled’ via a sort of grey preview – but obviously I have no way to control that.

    Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    The internal linking suggestions feature is found only in the Yoast SEO Premium plugin, and it suggests internal links based on the prominent words used in your posts and pages.

    If the filter isn’t working as expected, and you’ve also disabled the ‘text link counter’ feature, but it is still generating data in the wp_yoast_seo_links, it might need to be something we need to check on further for your specific set up, which we are unable to do so over these public forums. You may want to consider Yoast SEO Premium so we can provide you with personal premium support.

    Otherwise, you may want to refer to our developer portal for further customization or possibly create a bug report on this.

    Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can I clean wp_yoast_seo_links?’ is closed to new replies.