• Resolved TGoedde

    (@tgoedde)


    When we test our structured data with the Google Structured Data Testing Tool “Organization” shows Detected in the <Script type= string as @type:”Organization”. Can we remove this from the script somehow? My SEO coordinator has asked I remove it, but is it an issue at all? Does this effect our SEO rankings at all?
    I see this code that stackoverflow recommends be put in the functions.php file to disable it, but I am always reluctant to drop code into the functions.php file without a bit of vetting first. What do you think?

    function bybe_remove_yoast_json($data){
    if ( (isset($data[‘@type’])) && ($data[‘@type’] == ‘Organization’) ) {
    $data = array();
    }
    return $data;
    }
    add_filter(‘wpseo_json_ld_output’, ‘bybe_remove_yoast_json’, 10, 1);

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support amboutwe

    (@amboutwe)

    The Organization type is output when you select ‘Company’ for Google’s Knowledge Graph.

    To remove the code, change the Knowledge Graph option to “Choose whether you’re a company or person” under Admin > SEO > Search Appearance > General

    Thread Starter TGoedde

    (@tgoedde)

    Thank you for the explanation. I would assume a company would want to be searched as a company not a person. Or is this even relevant in SEO ranking? All of our schema is set to localBusiness too.

    Plugin Support Michael Ti?a

    (@mikes41720)

    If you are a company, you would want to be listed as one. It’s relevant in SEO terms as this signals to Google and the knowledge graph that this is your company and this is how you would want to be identified, not as a person. It’s why it is one of our default input fields in the plugin as well.

    Plugin Support Jerlyn

    (@jerparx)

    Closed. No further questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove @type “Organization”’ is closed to new replies.