1. Create subescription in Plesk panel.
2. Check the wordpress version.
3. Install same Wordpress(Custom Install) with database name, db user name and password same as that of source server.
4. Copy the homedirectory(rsync) from source server to destination server.
5. Take backup of database from surce server, copy to destination, restore it.
6. Check the privileges of the database using mysql query, (show grants for 'user'@'localhost';), and assign the same privileges on destination server using the command,
-------
GRANT ALL PRIVILEGES ON `<database>`.* TO '<dbuser>'@'localhost' IDENTIFIED BY '<dbpassword>';
7. Create .htaccess file in the home directy and add the below entry, which is created by default on creation of a wordpress site.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
2. Check the wordpress version.
3. Install same Wordpress(Custom Install) with database name, db user name and password same as that of source server.
4. Copy the homedirectory(rsync) from source server to destination server.
5. Take backup of database from surce server, copy to destination, restore it.
6. Check the privileges of the database using mysql query, (show grants for 'user'@'localhost';), and assign the same privileges on destination server using the command,
-------
GRANT ALL PRIVILEGES ON `<database>`.* TO '<dbuser>'@'localhost' IDENTIFIED BY '<dbpassword>';
7. Create .htaccess file in the home directy and add the below entry, which is created by default on creation of a wordpress site.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>