• Resolved frenchomatic

    (@frenchomatic)


    In features.php the mainentity for structured data on a static home page and blog posts page is missing the trailing slash (i.e. not the canonical).

    Should this

    $metadata[‘mainEntityOfPage’] = $current_url; // proper URL added

    be this

    $metadata[‘mainEntityOfPage’] = trailingslashit($current_url); // proper URL added

  • The topic ‘structured data mainentity’ is closed to new replies.