Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

How can I know the number of live pages in my site?

Avatar

Level 1

I need the number of live pages in my site, is there any way to collect the data quickly? It's impossible to count pages by hand for the large amount of data. Thanks.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You can write query to fetch the pages which are having property cq:lastReplicationAction as Activate

path={parent path}
property=cq:lastReplicationAction
property.value=Activate
p.limit=-1

If you are using sitemap that also should give the live pages with urls. You can refer below link in case it is not implemented
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/overview/seo-and-ur...

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

You can write query to fetch the pages which are having property cq:lastReplicationAction as Activate

path={parent path}
property=cq:lastReplicationAction
property.value=Activate
p.limit=-1

If you are using sitemap that also should give the live pages with urls. You can refer below link in case it is not implemented
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/overview/seo-and-ur...