Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

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


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)


zebra webdesigns answers:

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


Dbranes answers:

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

Here is one [[LINK href=""]]example[[/LINK]]:

wget --recursive --level=inf --page-requisites --convert-links --html-extension -rH

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=""]][[/LINK]]

[[LINK href=""]][[/LINK]]


Sabby Sam answers:

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]


Giri answers:

[[LINK href=""]][[/LINK]]


Francisco Javier Carazo Gil answers:

You can use a plugin, for me is the best option: