Home Forums WoodMart support forum Excessive Repetitions of the Webpage Title in the HTML Code

Excessive Repetitions of the Webpage Title in the HTML Code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #712467

    2303805254
    Participant

    Why does my product title show up so many times in the HTML code? Is the section I boxed out in the screenshot automatically generated by the website theme? That line of content looks like garbled code, and all the repeated instances of the title are concentrated in that exact line.

    I only set the product title as the alt attribute for the product images; I never manually added the title anywhere else. I can tell some of the repetitions are generated by the SEO plugin, but the vast majority of the repeated titles appear in that garbled line I highlighted in the screenshot.

    This problem isn’t just happening on the single link I shared — it’s affecting all of my product pages. Could you help me figure out how to fix this issue?

    Attachments:
    You must be logged in to view attached files.
    #712616

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Your product title appears repeatedly because it is used in several places automatically.

    For each product image WooCommerce generates:

    Attribute Example:
    alt Chinese Song Dynasty Hanfu Dress with Beautiful Lotus Pattern
    title Chinese Song Dynasty Hanfu Dress with Beautiful Lotus Pattern
    data-caption Chinese Song Dynasty Hanfu Dress with Beautiful Lotus Pattern
    data-large_image_title Chinese Song Dynasty Hanfu Dress with Beautiful Lotus Pattern

    Then the gallery script converts all of that into JSON, which is why you see many copies inside one long line.

    If you have:

    6 product images, each image stores 4–6 attributes
    You easily get 30+ repeated titles in one line: https://postimg.cc/jW0fcd87

    This is normal for WooCommerce galleries.

    Google ignores:
    data-* attributes
    JSON used for gallery scripts
    repeated alt values inside scripts

    Google only cares about:
    page <title>
    <h1>
    visible text
    structured data

    So this will not cause keyword stuffing penalties.

    Best Regards,

Viewing 2 posts - 1 through 2 (of 2 total)