Expand my Community achievements bar.

How to add/remove rules applied to a page when it gets published

Avatar

Level 2

Hi 

I am trying to remove a rule which is applied when I publish a page from AEM author to publisher. Basically what that rule does is update any expired/no longer exist URLs in that page to company website home page. How can I do that?

Thank you

1 Reply

Avatar

Community Advisor

Hi @HanL 
You may need to write an replication/sling distribution based listener to listen the publish/unpublish event

https://helpx.adobe.com/tr/experience-manager/kb/ReplicationListener.html 



Arun Patidar