Skip to main content
July 8, 2023
Solved

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

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.

Ravi_Pampana
Ravi_PampanaAccepted solution
Community Advisor
July 8, 2023

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-url-management.html?lang=en#building-an-xml-sitemap-on-aem

Ravi Pampana

1 reply

Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
July 8, 2023

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-url-management.html?lang=en#building-an-xml-sitemap-on-aem

Translate
Ravi Pampana