Linux 软件免费装

Static Site Generator

开发者 Katsushi Kawamori
更新时间 2025年5月17日 09:37
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

speed performance seo security static

下载

1.00 1.01 1.02 1.03 1.04 1.05 1.07 1.08 1.09 1.10 1.11 1.12 1.13 2.00 1.06 2.01

详情介绍:

Requires Generate Copy ``` ### WP-CLI * 1st argument(string) : `/home/www/localhost.test` : output path of full path * 2nd argument(string) : `https://localhost.test` : url of output homepage * optional argument1(string) : `--cb1="site.com" --ca1="localhost.test"` : `cb1` -> Original string | `ca1` -> Changed string * optional argument2(string) : `--cb2="/wordpress" --ca2="/"` : `cb2` -> Original string | `ca2` -> Changed string * optional argument3(bool) : `--s` : Only arguments 4-7, which directly specify the URL and file name, are executed. * optional argument4(string) : `--file1="ja/feed/index.xml" --orgurl1="https://site.com/ja/feed/"` : `file1` -> Output filename | `orgurl1` -> Original url * optional argument5(string) : `--file2="ja/category/whatsnew-ja/feed/index.xml" --orgur2="https://site.com/ja/category/whatsnew-ja/feed/"` : `file2` -> Output filename | `orgurl2` -> Original url * optional argument6(string) : `--file3="feed/googleimagesitemap/index.xml" --orgurl3="https://site.com/feed/googleimagesitemap/"` : `file3` -> Output filename | `orgurl3` -> Original url * optional argument7(string) : `--file4="feed/googlevideossitemap/index.xml" --orgur4="https://site.com/feed/googlevideossitemap/"` : `file4` -> Output filename | `orgurl4` -> Original url * optional argument8(bool) : `--c` : Outputs file copy status to the console. * Example1 `wp static /home/www/localhost.test https://localhost.test` * Example2 `wp static /home/www/localhost.test https://localhost.test --cb1="site.com" --ca1="localhost.test" --cb2="/wordpress" --ca2="/"` In the html or xml, the original home page is converted to "https://localhost.test", "site.com" is converted to "localhost.test", and "/wordpress" is converted to "/".

安装:

  1. Upload static-site-generator directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • WP-CLI execution screen

升级注意事项:

1.00

更新日志:

[2.01] 2025/05/17 [2.00] 2025/05/16 [1.13] 2025/05/12 [1.12] 2025/05/11 [1.11] 2025/05/11 [1.10] 2025/05/11 [1.09] 2025/05/10 [1.08] 2025/05/10 [1.07] 2025/05/09 [1.06] 2025/03/31 [1.05] 2025/03/29 [1.04] 2025/03/28 [1.03] 2025/03/27 [1.02] 2025/03/26 [1.01] 2025/03/25 [1.00] 2025/03/23 Initial release.