Ask your WordPress questions! Pay money and get answers fast! (more info)

What tool can I use to spider a whole site and get static HTML? WordPress

  • SOLVED

Not really a WordPress question, just a general website question. I have a site built with PHP, but which I need to transform into static HTML (changing technology). What tool can I use to spider a whole site and generate static HTML pages?

Answers (5)

2013-12-09

zebra webdesigns answers:

Httrack is a good tool.
You can give a try and its free too

2013-12-09

Dbranes answers:

If you have access to a LinuX command line, then you can try <em>wget</em>:

Here is one [[LINK href="http://superuser.com/questions/129085/make-wget-download-page-resources-on-a-different-domain?lq=1"]]example[[/LINK]]:

wget --recursive --level=inf --page-requisites --convert-links --html-extension -rH -Dexample.com http://example.com

I've tested this on a small site and it looks like I got the whole site tree with all images.


Lawrence Krubner comments:

Wow. I had no idea that wget had a recursive option. Those linux utilities pack a lot of power. I'll try that.


Dbranes comments:

yes, the <strong>*niX</strong> one-liners can be really powerful ;-)

ps: these <em>wget</em> manual links might be helpful:

[[LINK href="http://www.gnu.org/software/wget/manual/wget.html#Recursive-Download"]]http://www.gnu.org/software/wget/manual/wget.html#Recursive-Download[[/LINK]]

[[LINK href="http://www.gnu.org/software/wget/manual/wget.html#Following-Links"]]http://www.gnu.org/software/wget/manual/wget.html#Following-Links[[/LINK]]

2013-12-09

Sabby Sam answers:

Hi,
I don't have idea but I would do this to hide the site is made in php,
Add this to your .htaccess:

RewriteRule ^([^\.]+)$ $1.html [NC,L]

2013-12-09

Giri answers:

[[LINK href="http://www.httrack.com/"]]http://www.httrack.com/[[/LINK]]

2013-12-09

Francisco Javier Carazo Gil answers:

You can use a plugin, for me is the best option: http://wordpress.org/plugins/static-html-output-plugin/