Home Forums WoodMart support forum Promo Banner Button Link is not crawlable by Google

Promo Banner Button Link is not crawlable by Google

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #323343

    therugs
    Participant

    Hi,

    When I test my site via Lighthouse, it shows that the promo banner button links are not crawlable since it uses . However, google follows the link with

    How do I change this ?

    Thanks

    #323346

    therugs
    Participant

    **it uses onclik tag instead of href, but google follow only href tags

    #323391

    Hello,

    Please provide the admin panel login details of the website.

    Best Regards

    #323403

    therugs
    Participant

    Hi please find the details below.

    #323447

    Artem Temos
    Keymaster

    Hello,

    Yes, the banner is a complex element that is wrapped with <div> tag and not with <a>. And the <div> tag can’t have href attribute. That is why we used onclick JS there.

    Kind Regards

    #323454

    therugs
    Participant

    Is there any way to go around it or fix it ?

    Thanks

    #323457

    Artem Temos
    Keymaster

    It is not a bug that could be fixed. If you need to display the <a> tag you need to use some other element like a button instead of a banner. But it is not necessary to do this. Just make sure that these links are also present in some other place on your website.

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