Mirror a wordpress site with wget

In case you ever want to archive a site for offline use, you can use wget to make a copy of the site for you. Thanks to  minimallinux who outlines how to do so.

wget \
      --recursive \
      --no-clobber \
      --page-requisites \
      --html-extension \
      --convert-links \
      --restrict-file-names=windows $url-of-site

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.