I'm sure this has been already brought up but even using Google to search for answers I can't find anything except this. The problem I need to stop is if a Child Category does not have any SEO Meta Descriptions and/or Meta Keywords it picks up the Meta Description and/or Meta Keywords from it's Parent Category - it's causing multiple instances of duplicate content that Google is extremely displeased with. In my own comments in the mentioned post I tried to do something like this
That didn't work. How do we stop this from happeneing?
Code:
<!-- CTGY --> <mvt:if expr="ISNULL l.settings:category:metafield:description"> <meta name="description" content="&mvt:category:name; &mvt:category:code;"> <!-- &mvt:category:metafield:description; --> <mvt:else> <!-- CTGY prodctgy_meta --> <mvt:item name="prodctgy_meta" param="ctgy" /> </mvt:if>
Comment