Please or Register to create posts and topics.

Declare https://schema.org/

Page 1 of 2Next

Hi Thomas,

probably so:

echo '<div typeof="" vocab="https://schema.org/">'.PHP_EOL;
      echo '<meta property="og:type" content="article" />'.PHP_EOL;
      echo '<link rel="canonical" href="'.$currentLink.'" />'.PHP_EOL;
      echo '<meta name="description" content="'.$currentDescription.'" />'.PHP_EOL;
      echo '<meta property="og:url" content="'.$currentLink.'" />'.PHP_EOL;
      echo '<meta property="og:title" content="'.$currentTitle.'" />'.PHP_EOL;
      echo '<meta property="og:description" content="'.$currentDescription.'" />'.PHP_EOL;
      echo '<meta property="og:site_name" content="'.get_bloginfo('name').'" />'.PHP_EOL;
      echo '<meta name="twitter:title" content="'.$currentTitle.'" />'.PHP_EOL;
      echo '<meta name="twitter:description" content="'.$currentDescription.'" />'.PHP_EOL;
      echo '</div>'.PHP_EOL;

echo ‘<div typeof=”” vocab=”https://schema.org/”>’.PHP_EOL;
echo ‘<meta property=”og:type” content=”article” />’.PHP_EOL;

echo ‘</div>’.PHP_EOL;

Otherwise, get in breadcrumbs

Hello Yworld,

is it really allowed to put div-tags into the head-element of HTML-documents? I never saw this before to be honest.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I also 🙂

Just to see the problem

But it worked and has not yet found another solution

Errors occur on pages:

/forum/ – errors

?view=forum&id=2 – errors

?view=forum&id=2&part=2 – No errors

?view=thread&id=46 – errors

?view=thread&id=46&part=2 – No errors

No error if more than one page

Logic 3 positions.

No id

As one variant

What kind of errors are those? I cant see them in the Google Webmaster Tools for this website. What can I do to fix it?

Edit: Okay, I found it. I will check this.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Go to the validator

Sadly there are no instructions at all on how to fix this and I am no profi in that kind of topic. I can try to find something but I cant promise it for now. 🙁

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I will also look for

lacking in breadcrumbs of parameter, but is not clear what 🙂

Page 1 of 2Next