Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Nick C

    (@modernnerd)

    @angelodavis Are you able to share an example of this, please?

    Thread Starter angelodavis

    (@angelodavis)

    @modernnerd Google “behance” for past week and results start to show on page three.

    or site:sinfulnutrition.com , site:www.hallstromhome.com, site:www.rivervalleyrealtynj.com/

    They all have the “Simple Social Icons” plugin in common.

    Plugin Contributor Nick C

    (@modernnerd)

    Thanks, @angelodavis. The sites mentioned all appear to have a missing title tag in the head section on pages where ‘behance’ is included in the title. For example:

    head section showing missing title tag

    Google will pick up other head tags on the page under that condition.

    The solution for these sites would be not to drop the title tag from the head element. Using a title tag within an SVG is valid HTML and will not normally affect sites as most do not omit the default title tag.

    Thread Starter angelodavis

    (@angelodavis)

    Why is it showing the head closed before title when “Inspect Element” but title before head closed when “View Page Source” or this page (my site)?

    https://www.angelodavisrealtor.com/real-estate/100-STONE-WAY-SEDONA-AZ-86351/516175/258/

    Plugin Contributor Nick C

    (@modernnerd)

    That page’s head element includes div elements, which aren’t allowed in HTML head tags:

    head element showing div elements

    When Chrome (or Google, or another user agent) encounters that div tag in head, it assumes the head has closed and body has started, so it moves all other elements from that point on into the body. title isn’t allowed as a top-level item in a body tag, which is why the site’s default title tag gets ignored.

    If you can identify and remove the div and other illegal tags from the head section, that should solve this and ensure Google reads the title tag correctly.

    The W3’s validator can help identify broken HTML: https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.angelodavisrealtor.com%2Freal-estate%2F100-STONE-WAY-SEDONA-AZ-86351%2F516175%2F258%2F&showsource=yes

    It looks like the issue is the <div itemtype="//schema.org/Product" itemscope=""> element. If that has been added to the page header scripts, or via another method, I recommend removing it and putting it in the post body instead, or using https://json-ld.org/, which can be used in the document head.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding “behance” to end of title’ is closed to new replies.