Create a Static HTML Site from WordPress

Turn on pretty permalinks, and run a spider/archiver on the address of your website. This should give you a static site you can place on a CD/DVD/USB drive.

You can use a tool such as http://www.httrack.com/ to do the latter part. If you’re on linux you can use the following command:

# Mirror website to a static copy for local browsing.
# This means all links will be changed to point to the local files.
# Note --html-extension will convert any CGI, ASP or PHP generated files to HTML (or anything else not .html).
wget --mirror -w 2 -p --html-extension --convert-links -P <dir> http://www.yourdomain.com

You can also run a portable wordpress install off of a USB drive http://wordpress-portable.webnode.com/

Leave a Comment

tech