Adding unavailable after robots tag on page | Community
Skip to main content
Level 4
December 11, 2023
Solved

Adding unavailable after robots tag on page

  • December 11, 2023
  • 1 reply
  • 536 views

Hi Team,

     Kindly help how to add unavailable after Robots tag on page properties which was under Page-->properties-->Advanced Tab - Robots Tags dropdown. Appreciate quick response.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mahedi_Sabuj

You can add unavailable_after under Robots Tags, check the GitHub commit to better understanding.

<advanced jcr:primaryType="nt:unstructured" jcr:title="Advanced" sling:resourceSuperType="wcm/foundation/components/basicpage/v1/basicpage/tabs/advanced" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured"> <items jcr:primaryType="nt:unstructured"> <seo jcr:primaryType="nt:unstructured"> <items jcr:primaryType="nt:unstructured"> <robotsTags jcr:primaryType="nt:unstructured"> <items jcr:primaryType="nt:unstructured"> <unavailable_after jcr:primaryType="nt:unstructured" text="unavailable_after" value="unavailable_after"/> </items> </robotsTags> </items> </seo> </items> </column> </items> </advanced>

https://github.com/MahediSabuj/aem-demo/commit/a05e63d3c3e51ed8e6a361049e293d279d33ba9a

 

 

1 reply

Mahedi_Sabuj
Community Advisor
Mahedi_SabujCommunity AdvisorAccepted solution
Community Advisor
December 11, 2023

You can add unavailable_after under Robots Tags, check the GitHub commit to better understanding.

<advanced jcr:primaryType="nt:unstructured" jcr:title="Advanced" sling:resourceSuperType="wcm/foundation/components/basicpage/v1/basicpage/tabs/advanced" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured"> <items jcr:primaryType="nt:unstructured"> <seo jcr:primaryType="nt:unstructured"> <items jcr:primaryType="nt:unstructured"> <robotsTags jcr:primaryType="nt:unstructured"> <items jcr:primaryType="nt:unstructured"> <unavailable_after jcr:primaryType="nt:unstructured" text="unavailable_after" value="unavailable_after"/> </items> </robotsTags> </items> </seo> </items> </column> </items> </advanced>

https://github.com/MahediSabuj/aem-demo/commit/a05e63d3c3e51ed8e6a361049e293d279d33ba9a

 

 

Mahedi Sabuj