Migrate WordPress from Cloudways to Vultr with ServerPilot (In 1 hour)



Not working bro, when i tried to access with www it is not redirecting to non-www version


@Rakesh Okay… please try first this method

  1. Open /srv/users/serverpilot/apps/demo/public/

  2. Edit wp-config.php file

  3. Remove these three lines

define('SP_REQUEST_URL', ($_SERVER['HTTPS'] ? 'https://' : 'http://') . $_SERVER['HTTP_HOST']);

  1. Save changes.

  2. Login to WordPress

  3. Go to General Settings

  4. Update www or non-www version whatever you want.


Do i need to delete the provided .htaccess or keep the code and edit wp-config.php


First, I would recommend deleting those three lines to ensure that WordPress respects your General Settings and do not override URL. Second, to force non-www (of course, with HTTPS) you can use .htaccess code that I shared.


Thanks @GulshanKumar it is working, I am using Cloudflare to force HTTPS


If you are using Cloudflare to force HTTPS, then you don’t need .htaccess seperately for it.


I am not using .htaccess to force HTTPS, I just wanted to redirect www to non-www, Now it is working.


i use ip as url, if move to new server i got new ip. create tutorial reserved ip vultr gulshan, i am confused. :fearful:


Why IP as URL? Any reason or by mistake?


for a reason. I have successfully moved with all in one wp import. destroy old server deploy new server with reserved ip. very tiring :joy:


Possible, downgrade vultr solution with the same ip is just a reserved ip $3 monthly :sweat_smile:


They also scammed me :frowning:

@GulshanKumar I need those $25 free credits :disappointed_relieved:


I opened this ticket, wish me luck :fearful:



See, exact same thing happened with me. :disappointed_relieved::confounded:



You are already rich, what will you do for $25 credit! :yum:


Rich people can not let the free stuff go away :slightly_frowning_face:


you could have used your real name.




:joy: :joy: :ok_hand: Even they know you’re not real!