I find the isuue ! ??
You must go to plugins->editor -> WordPress SEO ->
find wordpress-seo/fronted/class-json-ld.php
And you must to add /true to schema.org
public function website() {
$this->data = array(
'@context' => 'https://schema.org',
'@type' => 'WebSite',
'url' => $this->get_home_url(),
'name' => $this->get_website_name(),
);
public function website() {
$this->data = array(
'@context' => 'https://schema.org/true',
'@type' => 'WebSite',
'url' => $this->get_home_url(),
'name' => $this->get_website_name(),
);
If doesn’t work
{search_term_string} must be the same in ‘query-input’ and in ?s=
$search_url = apply_filters( 'wpseo_json_ld_search_url', $this->get_home_url() . '?s={search_term_string}' );
$this->data['potentialAction'] = array(
'@type' => 'SearchAction',
'target' => $search_url,
'query-input' => 'required name=search_term_string',
);
}
}
Sorry if something was incomprehensible, becouse I’m from Poland