If you have to migrate to a new server or just making a backup for the day the export function is very handy. There might be some pitfalls though but when knowing those tips here you soon up and running on a new server again.
Export Data ↗️
Very easy, just choose what you like to export often like:
- All content
- Posts
- Pages
- Contact Forms
- Media
If you a lot of data having split up in s mall bunched might make it faster and easier to import.
Import ↙️
Best to do on clean WordPress to avoid confusion of old stuff. If you need other stuff you should add that later after the import
- Import is not traditionally export and import. Its more a transfer of the settings.
⦁ Media files have to exist on a present server. - The export server have to exist and be alive while importing.
- Copy and right click protection have to be disable.
- To if you choose All Content in export and import, all the corresponding plugins have to exist on the import server. So to say plugins from old (present site/server) must be installed and enabled on th enew server first, like contact form 7, flamingo or honeypot.
this Miscellaneous in “All In One WP Security”
Enable Copy Protection: disable.
other WAF like Comodo CWAF have to allow right click too. <It might block otherwise>
⦁ You can not make a an export / import to your own domain. Even not sub a subdoamin.
Import Data feature
⦁ Download og importér vedhæftede filer has to be enable.
It copy files to your current import site so you have to clean up later.
⦁ Media library will not show thumbnails at all but images will be there when copy the post and pages.
⦁ Menus are copied. Needs trimming and enabling afterwards
⦁ themes are not copi. not critical add first
⦁ Linyx Groups and Users have to be correct to valid value in all folders first.
On raspi:
#chown -R www-data:www-data html to make your new files work both befor and after import.
There might be a bug making it impossible import in php8. full Tested with php7.3
images on new pages links to old page. If you need new domain you have to update alter it in swl or what you use.