• Resolved cutu234

    (@cutu234)


    Hi Yoast Support Team,

    I’d like to raise an issue with how the SEO title length assessment (the green/orange/red indicator in the editor) calculates character count when replacement variables are used.

    According to a previous support reply from your team “the SEO title width check… takes into account the content from replacement variables but excludes the separator and the site title replacement variables from the calculation”), the length check deliberately ignores the separator and %%sitename%% variable.

    In practice, this means a title template like:

    %%title%% | %%sitename%%

    is measured in the editor as if it were just %%title%% – the ” | AGO” (or whichever site name) is never counted, even though it is fully rendered and fully counted by Google in the actual SERP snippet.

    On our site this has led to a real, measurable problem: across our post/product catalog, a meaningful share of SEO titles were marked “green”/good in the Yoast editor, but once %%sitename%% is resolved on the front end, they exceed 60-70 characters and risk being truncated in Google search results. Editors trusted the green indicator and had no way of knowing the actual rendered title was too long, because the tool that’s supposed to warn them was silently excluding real, visible characters from its own calculation.

    I understand this exclusion may have been an intentional simplification (e.g., assuming separators/site names are short and constant), but for many sites the site name plus separator adds a non-trivial, fixed number of characters to every single title – characters that Google does display and does count toward truncation. Silently excluding them from the assessment undermines the very purpose of the indicator.

    Could you:

    1. Confirm whether this exclusion is still current behavior in the latest version of Yoast SEO?
    2. Consider including the resolved separator + site title length in the character count (or at minimum surface a warning/tooltip explaining that these characters are excluded, so users aren’t misled by a green indicator)?
    3. Point me to any existing feature request or GitHub issue tracking this, if one already exists, so I can follow/upvote it?

    Happy to share concrete examples from our own %%sitename%% title templates if that’s useful for reproducing this.

    Thanks for looking into this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Alje

    (@adminalje)

    Hey @cutu234,

    Thanks for contacting the Yoast support team.

    We designed the title length assessment to focus specifically on the author’s content, ensuring writers aren’t penalized for long brand names set in global site configuration.

    Because Google evaluates the full rendered title tag in search results, this targeted scoring means the editor indicator measures the post title independently. Consequently, a green indicator reflects the length of the author’s text rather than guaranteeing how the full combined title appears in search snippets.

    As a workaround, you may remove the separator and brand name variables from Yoast’s global template so the editor’s progress bar accurately measures 100% of the title text you type. Alternatively, keep the template but enforce a strict character limit for writers by subtracting your brand name and separator length from Google’s 50/60-character display maximum.

    Additionally, the title length check is based on pixel width, not character count. There are some uppercase letters that take up slightly more horizontal space than lowercase letters.

    Getting all green bullets is not necessary all of the time. We understand that sometimes it’s tempting to attempt to get all the green lights on the SEO and Readability analysis. However, these are general guidelines, not strict rules that will hurt your ranking.

    You may use our GitHub to make feature requests: https://github.com/Yoast/wordpress-seo

    Thread Starter cutu234

    (@cutu234)

    I already understand that. That’s all well and good, but it doesn’t really address my suggestion. As soon as a variable is used, a warning should actually pop up stating that the indicator may return an incorrect result. Most users won’t understand that. I think this is a fair suggestion that really shouldn’t be controversial.

    Plugin Support Alje

    (@adminalje)

    Thank you for sharing this feedback. We encourage you to open an issue on our official GitHub repository so our development team can investigate.

    In your submission, please outline the problem you’re experiencing along with your proposed solution (such as displaying a warning when variables are used). This will allow our engineers to review the title assessment logic directly and evaluate whether the calculation should be adjusted or if there is a specific SEO rationale behind the current behavior.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.