We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials
More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsCMS TutorialsWordPress

How to Move a Site on the Same Server but Different Domain?

Ubuntu VPS
Linux Cloud Server
USA VPS
Linux KVM Hosting
cPanel KVM
KVM VPS
OpenVZ VPS
Germany Cloud Servers
Windows Cloud Server
Brazil VPS
Follow these steps to move site to a different domain in the same server

Login to WordPress dashboard and navigate to Settings > General. There we will need to provide new website address in the field WordPress address (URL). Do the same for the field Site address (URL) and click “Save Changes” button.

moving-site-to-different-domain-screenshot-1

Create a new directory in which you will move your website. This can be done by using server control panel or FTP.

For example, if the website is located at

http://host1plus.com/tutorials/blog/

And let’s say that you want to move it to

http://host1plus.com/tutorials/

Simply copy and paste files from “blog” directory to the public_html folder.

moving-site-to-different-domain-screenshot-2

Also, if you are using permalinks, you might need to update them as well. Navigate to Settings > Permalinks and update permalink structure to be suitable with new website address.

moving-site-to-different-domain-screenshot-3

If you have already uploaded media, such as images, they might not be showing in the new website. This might be caused due to old address included in the links of the images. In this case, links should be updated as well. This can be done in websites MySQL database by replacing old links with new ones in the particular records that are saving links of the images.

WordPress MySQL Record

Moreover, you might need to update the path in which all media is being uploaded. Navigate to Settings > Media and update path for the field “Store uploads in this folder”. Otherwise, newly uploaded media files might be going to the old location.

moving-site-to-different-domain-screenshot-4

That should be all steps involved in moving website in the same server with different domain.

Linux Cloud Server
Germany Cloud Servers
KVM VPS
Linux KVM Hosting
cPanel KVM
OpenVZ VPS
Ubuntu VPS
USA VPS
Windows Cloud Server
Brazil VPS
Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Other (182)

Popular Keywords