Find total number of pages on a site
- Applies to:
- All versions
- Role required:
- Admin
Find the count of all pages. or all published pages.
Find the total number of pages on your site, or the difference between the number of pages the API shows and the number of pages the Content Aging report shows.
There are two methods:
- Content Aging report: The Content Aging Report lists "Total number of pages counted in this report" above the bar graph, which includes all published and unpublished pages.
- API: Append /@api/deki/pages to your URL and count the number of
<page>nodes. This only includes published pages.- To count the page nodes, use Ctrl+F to search for <page. The number of results is the number of nodes.
