• Resolved jameswithsupersonic

    (@jameswithsupersonic)


    Hi,

    Is there a way to set the export to auto include all pages, including private pages etc on the plugin? And also if there is an api that I can call to trigger upon completion of an action in the wordpress cms? Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support sr293

    (@sr293)

    Hello jameswithsupersonic, thank you for your questions and interest in Simply Static. Simply Static works like a real user (or a Google Bot). By default, all published pages with a visibility of “public” will be included in the export. Since a private page is not publicly available it will result in a 404 error (page not found) when the generator tries to access it. For a page to be exported, its visibility will need to be set to public. 

    More info on how to add missing pages:  https://simplystatic.com/docs/add-missing-files-to-your-static-website/ 

    To trigger an action on completion of an action in WordPress, you could explore the code snippets section on the Simply Static website. 

    https://simplystatic.com/docs/code-snippets/ 

    One of the snippets you might be interested in is running an export after publishing a post. 

Viewing 1 replies (of 1 total)
  • The topic ‘Auto include all pages, and api to trigger export’ is closed to new replies.