• Resolved clawduda

    (@clawduda)


    Hi,

    I am looking for a solution to remove the /shop/ page from the jsonld bradcrumbs that yoast exports.
    I have tried to set the shop page to noindex ( using yoast menu ) but it is still exported. I even tried to delete the whole shop page and not have any page set up as the shop page in woocommerce, but in this case yoast still exports it as a first item after homepage and uses the /shop/ slug by default ( previsouly i had another slug for my shop )

    I am referring to the jsonld breadcrumbs not the html ones, i have those disabled.

    Do you have any solution so I can remove the shop page from the breadcrumbs and leave only Homepage > Category > Child category > product ?

    Whatever i try, yoast always puts shop between homepage and first category

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Suwash

    (@suascat_wp)

    @clawduda

    We are afraid to say that Yoast SEO has a feature to remove the shop page from the breadcrumb. However, a community patch can be found here that you may try.

    However, we strongly suggest you take a backup of your site before applying the relevant code on your site.

    Thread Starter clawduda

    (@clawduda)

    Hi,
    Thanks for this but this does not change the json ld breadcrumbs at all.
    I understand that you do not have an option in the plugin but I do believe it is a wrong behaviour to add the shop breadcrum even if there is no shop page set. Basically it ads a page that leads to 404

    Perhaps another functions code that is related to the jsonld part of the breadcrumbs ? I am trying to search but I can’t find anything ??

    Plugin Support Suwash

    (@suascat_wp)

    Hello,

    If you want remove certain graph pieces, you can use the wpseo_schema_graph_pieces filter. There is an example use-case here. Unfortunately, we are unable to provide any more specific code examples.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove the /shop/ page from a woocommerce product jsonld breadcrumbs’ is closed to new replies.