For NGINX users: Who want to migrate WordPress that have htaccess wordpress rulers, even try other ways, the only way I found was: open the file: /etc/nginx/sites-available/domain.conf and add the following code:
By default, Virtualmin configures Nginx for WordPress to work correctly during WordPress installation. If you’re migrating it manually, you should just edit the Nginx config manually.