Copying a Wordpress website

AI suggestion:-

Code:
wget --mirror \
     --convert-links \
     --adjust-extension \
     --page-requisites \
     --no-parent \
     --wait=1 \
     --limit-rate=100k \
     https://example.com
 
Worpress uses databases for the content, like the most of CMSs. In Wordpress admin pages there is a function to export the site content, it can be imported in another Wordpress installation, so in effects it is like moving a website from one Wordpress installation to another. Make sure the two Wordpress versions are the same, it should works but better to verify. On the other side, if your existing website is not in Wordpress I do not know if there is a way to import it, in CMSs is not difficult to create pages and add content, editing them is like in Word or Writer documents, you have only to make a template if you want the same layout.
 
I "think" the wget you show is what I used at one time but have since switched (I think) to simply
Code:
wget -mpEk <site>
I do not recall if it downloads just one page or the complete web site.

I once used httrack but find wget to be more handy and doesn't require installing something less useful.
 
Back
Top