4

请问将一个 wordpress 网站生成静态 html 并单独部署,有没有什么好的方法

 2 years ago
source link: https://www.v2ex.com/t/789867
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

请问将一个 wordpress 网站生成静态 html 并单独部署,有没有什么好的方法

  ersic · 1 天前 · 967 次点击
13 条回复    2021-07-17 12:11:57 +08:00

hotcool100

hotcool100   1 天前

浏览器-文件-网页另存为

ersic

ersic   1 天前

@adjusted #2 感谢,我研究一下

biubiu001

biubiu001   1 天前

使用 IDM(Internet Download Manager)里面的站点抓取功能,直接抓取全站

shapl

shapl   1 天前

WordPress REST API

Jiki

Jiki   1 天前 via iPhone

REST API + SSG

cco

cco   1 天前   ❤️ 1

很多缓存插件都支持将网站静态话,你可以设置将 sitemap 都静态花了,然后在换乘目录中拷贝出来。或者做个 rsync 到 nginx 的 root 中。

myd

myd   1 天前

cdn + 缓存

shuxhan

shuxhan   1 天前

直接把 wordpress 生成静态页面部署,有些得不偿失了吧,没用过 wordpress,个人感觉可以导出 markdown 文件,然后上传到 hexo 静态博客

cjjia

cjjia   14 小时 35 分钟前 via Android

插件:Simply Static
可以生成全站静态,部署到任何地方。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK