Plugin Author
Yani
(@yaniiliev)
It could be that the user roles got mixed up.
The plugin needs export and import capabilities which are granted to the administrator role. You can check if your administrator role has these capabilities with any role editing plugin.
Some plugins and themes alter the roles.
I did many migrations with AIO WP Migration and this is the first time I experienced this. I did check and still have all rights.
Even when I would not have rights to export it should not revert me to the old domain as I replaced the complete domain name without any exclusions.
So source.nl to destination.com
Even this website was migrated before from the staging site to the production site with find and replace and between servers without find and replace before without any problems.
I did check all tables for any possible link to the old domain but couldn’t find it, so it is probably encoded somewhere.
Plugin Author
Yani
(@yaniiliev)
Usually, if you see references to the previous domain name it could be:
1. Cache – flush and delete all existing caches
2. Check functions.php of your theme – some themes define siteurl and homeurl
I found the problem.
Thanks for your help, you sent me in the right direction.
Had to do a full text search in the wp-content folder to find out.
WP Optimize (the caching part) created a config file in /wp-content/wpo-cache/config with the name of the domain.
After migration there were 2 files, one with the old domain name.
Deleting this file solved the issue.