Recently, I set up a one-click wordpress site hosted on a digital ocean droplet as a test environment while contemplating transitioning over from a ghost domain. In doing this, I set it up at “test.mydomain.com” which re-directs to my digital-ocean droplet. Navigating the droplet, it looks like the web server files and installation are all in the root www directory.
I would like to now transition this from “test.mydomain.com” to “www.mydomain.com”. I was able to change all of the database links to the proper (new) web address, and redirected the DNS records to the correct web address as well. The site loads, but strangely, the block editor cannot update posts, and some of the plugins fail to work correctly…
I have seen several posts on how to move wordpress from root to subdomain, but none of them seem to address this specific problem. I would appreciate any guidance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!