Query all pages in all sites

To get all published pages on all sites you first iterate all sites by using the MultiSiteContext.GetSites list. Then, for each site, you use the PageManager.GetNodes method and filter the pages in Published state.

Use the following code sample:

 

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Query full page URL