問題描述

我目前正在運行一個 365 照片項目,它基於 WordPress 平台。目前這是非常有幫助的,因為我可以輕鬆地上傳照片,管理評論和內容。

因為我們到了年底,我想要”freeze” 的博客。我的意思是刪除所有的 WordPress 引擎代碼,並將所有頁面作為靜態 HTML 。這將允許我不必得到 WordPress 的更新,或擔心安全。

有沒有辦法”freeze” 一個 WordPress 博客?我必須用 HTTrack 和 re-upload 來下載整個網站,還是有一個好的方法呢?

BTW,我沒有興趣保留博客的評論或任何交互性。我只想要一個靜態網站。

最佳解決辦法

看看這個 Wordpress 插件 WP Static HTML output

This plugin produces a static HTML version of your wordpress install, incredibly useful for anyone who would like the publishing power of wordpress but whose webhost doesn’t allow dynamic PHP driven sites – such as MobileMe. You can run your development site on a different domain or offline, and the plugin will change all relevant URLs when you publish your site. It’s a simple but powerful plugin, and after hitting the publish button, the plugin will output a ZIP file of your entire site, ready to upload straight to it’s new home.

參考文獻

注:本文內容整合自 Google/Baidu/Bing 輔助翻譯的英文資料結果。如果您對結果不滿意,可以加入我們改善翻譯效果:薇曉朵技術論壇。