Deleted page but the Nav and sitemap still shows the link to the page | Community
Skip to main content
December 25, 2020
Solved

Deleted page but the Nav and sitemap still shows the link to the page

  • December 25, 2020
  • 2 replies
  • 1347 views

I'm new to AEM and for the life of me i cannot figure out how to get rid of a link (of a deleted page) in the nav bar and sitemap. If someone can give me some pointers on where to look in order to remove the deleted page link in the nav bar and sitemap page i would really appreciate it.  Thanks!

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 praveenjain

I Hope this issue should be in publish instance, as Nav or sitemap iterates and shows only existing pages.

If this issue is in publish, and you have deleted page in author, it will not be deleted from publish, you have to manually delete it from publish.

To follow best practice always deactivate page first (deletes page from publish) and then delete the page.

Let me if know, in case you are trying some other scenario.

 

Regards

Praveen

2 replies

praveenjainAccepted solution
Level 3
December 25, 2020

I Hope this issue should be in publish instance, as Nav or sitemap iterates and shows only existing pages.

If this issue is in publish, and you have deleted page in author, it will not be deleted from publish, you have to manually delete it from publish.

To follow best practice always deactivate page first (deletes page from publish) and then delete the page.

Let me if know, in case you are trying some other scenario.

 

Regards

Praveen

QueryResolved
Level 2
December 25, 2020

Apart from what @praveenjain  already mentioned, also see if you are not trying to access any page or sitemap page from dispatcher url as in that case you might be accessing already cached page in dispatcher. If that is the case, clearing dispatcher cache should resolve the issue.