Skip to content

Storefront compare product creates Google SEO error - Links are not crawlable #40185

@fabotha

Description

@fabotha

Preconditions and environment

  • Magento version 2.4.8, Luma Theme
    Check web page www.firesupport.uk using google search console
    Produces SEO error Links are not crawlable
    code in error is
    Compare Products

Please can you fix this is the base code or tell me how to get this fixed in the meantime so as to keep google happy.

Steps to reproduce

go to google search console
run page speed insights on www.firesupport.uk
see results for SEO
We use Luma theme

Expected result

passes google SEO and has a crawlable link

Actual result

Google SEO error

Links are not crawlable
Search engines may use href attributes on links to crawl websites. Ensure that the href attribute of anchor elements links to an appropriate destination so that more pages of the site can be discovered. Learn how to make links crawlable
Uncrawlable link
Compare Products

Additional information

this is the corrected code according to AI -
Compare Products

but whilst waiting for a proper fix how and where can I code this on my web to make the compare product SEO friendly?

Release note

updated storefront compare products to have a crawlable url to make the web site more google friendly

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SEOComponent: ConsoleIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.8Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions