Invalid URL in field "id" in GSC

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13119
    johnnyd
    Participant

    Hey guys, is that error because of this code?

    // Wrap the item text with appropriate itemprop.
    				$item = ! empty( $matches ) ? sprintf( '%s<span itemprop="name">%s</span>%s', $matches[1], $matches[2], $matches[3] ) : sprintf( '<span itemprop="name">%s</span>', $item );

    should the $matches[x] be the url? cause for example when I am testing https://medicalfa.gr/contact I am getting the following
    <span itemprop="item"><span itemprop="name">Επικοινωνία</span></span>
    if I edit the “Επικοινωνία” with https://medicalfa.gr/contact the issue is fixed.

    • This topic was modified 1 year, 1 month ago by johnnyd.
    #13121
    johnnyd
    Participant

    I need to mention is that for the moment I am only getting this error for four pages,

    https:// medicalfa. gr/main-page/
    https:// medicalfa. gr/contact/
    https:// medicalfa. gr/gdpr-cookies/
    https:// medicalfa. gr/about-us-medicalfa/

    And about 8 “Missing field “id” and that is either for deleted woocommerce products and redirected or not.

    • This reply was modified 1 year, 1 month ago by johnnyd.
    • This reply was modified 1 year, 1 month ago by johnnyd.
    #13122
    johnnyd
    Participant

    duplicate comment

    • This reply was modified 1 year, 1 month ago by johnnyd.
    #13140
    johnnyd
    Participant

    Hey guys i know that you are busy but would it possible to get an answer for this?

    #13160
    johnnyd
    Participant

    uhm guys?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.