tomaple
V2EX  ›  问与答

wordpress 项目可以把网站导出静态的 html 文件吗

  •  
  •   tomaple · Jul 24, 2023 · 1402 views
    This topic created in 1215 days ago, the information mentioned may be changed or developed.
    接到一个广告公司做的官网,用 wordpress 写的,现在接入到项目中,还要在它的基础上做些修改(比如加个运单号查询、商品下单的功能),怎么把之前的网站导出为静态网站呢?有什么可行的方案吗?
    6 replies  •  2024-01-19 16:02:42 +08:00
    libasten
    libasten
    Jul 24, 2023
    1
    印象中有插件可以把整站都生成静态 html 的,存在服务器的一个指定路径下。

    是要在 wp 做二次开发?为啥要导出 html 呢?
    googlefans
    googlefans
    Jul 24, 2023
    2
    工具--导出
    tomaple
    tomaple
    OP
    Jul 24, 2023
    3
    @libasten 好的,谢谢。
    tomaple
    tomaple
    OP
    Jul 24, 2023
    4
    @googlefans 是 wordpress 的管理后台吗?
    googlefans
    googlefans
    Jul 24, 2023
    5
    linyongxin
    linyongxin
    Jan 19, 2024
    6
    搜索 static 可以找到很多全站静态化和 headless 的插件,比如 wp2static
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   938 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:16 · PVG 04:16 · LAX 12:16 · JFK 15:16
    ♥ Do have faith in what you're doing.