Adobe Experience Manager (AEM) operates with two distinct environments: the author and publish environments. When a page is deleted from the author environment, it doesn’t automatically delete from the publish environment. This guide will provide a step-by-step process on how to remove pages from the publish environment that have been deleted in the author mode in AEM.
- AEM operates in two distinct environments: the author environment for creating and managing content, and the publish environment for making content available to end users.
- Deleting a page in the author environment does not automatically delete it from the publish environment.
- The process of removing a deleted page from the publish environment in AEM is known as ‘unpublishing’.
- It’s crucial to verify that the page has been successfully removed from the publish environment after unpublishing.
Understanding Author and Publish Environments in AEM
In AEM, the author environment is where content is created and managed. Once the content is ready for public viewing, it’s published to the publish environment.
Deletion of Pages in Author and Publish Environments
When a page is deleted in the author environment, it’s not automatically deleted from the publish environment. This is because the author and publish environments are separate, and actions in one do not directly influence the other.
Preparing for Page Removal in the Publish Environment
Before removing a page from the publish environment, ensure that the page has been deleted from the author environment and is ready for removal in the publish environment.
- Confirm Deletion in Author Environment: Confirm that the page is no longer needed and has been deleted in the author environment.
- Identify Page in Publish Environment: Identify the URL or path of the page in the publish environment that needs to be removed.
Unpublishing a Page in AEM
To remove a page from the publish environment that has been deleted in the author environment, you need to ‘unpublish’ the page.
- Access the Unpublish Wizard: From the AEM start page, navigate to the appropriate path, select the page, and use the ‘Unpublish’ option.
- Follow Unpublishing Steps: Follow the steps in the Unpublish Wizard, including setting the ‘Unpublish Now’ option.
Verifying the Page Removal in the Publish Environment
Once you’ve unpublished the page, it’s important to verify that the page has been successfully removed from the publish environment.
- Check in Publish Environment: Navigate to the page’s URL or path in the publish environment. The page should no longer be accessible.
- Check in AEM: Check the page’s status in AEM to confirm it’s no longer published.
After successfully removing the page from the publish environment, there are some best practices to follow.
- Inform Relevant Parties: Inform content creators, editors, and any other relevant parties that the page has been removed from the publish environment.
- Update Related Content: Ensure that any content that linked to the removed page is updated to remove or change the link.
Managing content across the author and publish environments in AEM requires careful attention to ensure consistency. When a page is deleted in the author environment, it must be manually unpublishd in the publish environment. By following the steps outlined in this guide, you can successfully manage your content in both environments.
I’m Kirill Efimov, an experienced AEM developer with over 10 years of experience in Java and web development. I’m skilled in developing AEM components, templates, workflows, and integrations with other systems, and I’m passionate about delivering high-quality solutions to my clients.
I also believe in knowledge-sharing and staying up-to-date with the latest developments in the industry. Through blog posts, tutorials, and speaking engagements, I’m committed to contributing to the AEM community and helping others overcome the challenges they may face in their AEM projects.