1

I'm having a site done in wordpress with some 10 pages. I'll need to save it, the whole site with the links working for offline use every time i update the content. Now what am doing is save each page then link everything etc.. but i want to do this programing.. so i dont have to do manually or are there any tools or class already?

UPDATE: I'm downloading for creating a offline documentation kind of stuff, which will be distributed on CD's so links should be relative.

4

2 に答える 2

1

wgetを使用し、 -k オプションを確認します

  -k,  --convert-links      make links in downloaded HTML point to local files.

参照: http://www.linuxask.com/questions/mirror-a-web-site-using-wget

于 2010-09-18T16:06:00.037 に答える
0

リンクを相対パス (例: href="/foo/bar.html") に設定すると、これを実行できます。

それ以外の場合は、ローカル マシンに Apache または IIS をテスト環境としてセットアップし、コードを運用する準備ができたら Web サーバーにアップロードすることをお勧めします。

于 2010-09-18T16:05:40.087 に答える