Fork me on GitHub

WordPress-kehittäjä, älä missaa ilmaista webinaariamme Xdebugista elokuun 19. päivä!

WordPress-utvecklare, missa inte vår kostnadsfria webbinar om Xdebug den 19. augusti!

WordPress developer, don't miss our free webinar about Xdebug on August 19th!


wp-static-export - manual page for wp-static-export git version fba2a66


usage: wp-static-export [-h] [–version] [URL [OUTPUT_DIR]]

Export a static version of the site. All pages and assets of the WordPress site will be crawled and saved as static HTML files, which might be useful in certain static file use cases.

Note! This tool is experimental and currently useful only to developers who will further process the static files generated at /data/static.

positional arguments:

  • URL
    Site URL to export. Defaults to the output of wp-url command.

    Defaults to /data/static.

optional arguments:

  • -h, –help
    display this help and exit

  • –version
    display version and exit