• Resolved julia77

    (@julia77)


    Hello,

    #1 How could I prevent storing height, width, size, language and region columns data in wp_yoast_seo_links table in db?

    # 2 Is there a safe way to delete already mentioned stored data in db?

    Regards,

    Julia

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

    (@maybellyne)

    Hello Julia,

    Thanks for reaching out. We have addressed your concerns below:

    How could I prevent storing height, width, size, language and region columns data in wp_yoast_seo_links table in db?
    Can you confirm the version of Yoast SEO you are currently running? The wp_yoast_seo_links table contains links for the text link counter. This is a feature in Yoast SEO Premium that allows you to work on your internal linking structure. Internal linking is one of the most important ways to optimize your pages. Internal links contribute to a better site structure, easier crawling, and indexing of your pages. This article explains more about that feature https://yoast.com/how-to-use-the-text-link-counter/.

    Is there a safe way to delete already mentioned stored data in db?
    Our developers indicate that you should use the filter listed here https://github.com/Yoast/wordpress-seo/pull/12751 to disable it.

    Thread Starter julia77

    (@julia77)

    Hello @maybellyne,

    In the link you provided, it′s suggested to add this filter in functions.php theme′s file:

    add_filter( ‘wpseo_should_index_links’, function() {
    return false;
    } );

    And also points out:

    However, when testing with the filter in my theme’s functions.php, I noticed that register_hooks was called before the theme’s functions.php was loaded. Therefore, I decided to move the apply_filters to within save_post and delete_post.

    #1 What filter should be added and where?
    #2 What about previous stored data?

    Regards,

    Julia

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for following up with us. We are afraid to say the relevant filter wpseo_should_index_links will disable the link indexation entirely on your website and will not disable only for height, width, size, language, and region columns for you. So, do you want to disable the link indexation feature for the entire website?

    So, can you please confirm what the height, width, size, language, and region columns are exactly on your website? Are these part of a custom post type? Are these a part of custom taxonomies? Once we know that exactly, we could suggest to you how you could filter them out from the link indexation.

    Thread Starter julia77

    (@julia77)

    Hello @mazedulislamkhan,

    filter wpseo_should_index_links will disable the link indexation entirely on your website

    And about height,widht, size, language and region columns in table:

    we could suggest to you how you could filter them out from the link indexation.

    Is it possible or not to prevent storing just in those columns?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for following up with us, @julia77. We are afraid to say that we don’t have a specific option to exclude certain database columns from the link indexation unless you do it programatically.

    If you’re familiar with WordPress plugin customisation, you could go ahead and exclude the relevant columns from the link indexation as well.

    That said, as much as we hate to say it, your question goes beyond the technical expertise of me and my colleagues on the Yoast support team. This means we can’t give you a solid answer to your question.

    But we don’t want to leave you empty-handed either, that’s why we’ve created our developer portal at developer.yoast.com. This has proven to be useful to many developers in the past, and hopefully will serve you well too.

    Sorry we can’t be of more help here.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Seo links db table’ is closed to new replies.