I have inherited a situation where I have 2 WordPress websites on one domain. I would like to let the older site sit on a subdomain and make sure the newer website sits on the top domain. As a novice to the backend side of development can someone help?
The older website sits on domain.uk/public
The second sits on dnomain.uk/dev
I have inherited a situation where I have 2 WordPress websites on one domain. I would like to let the older site sit on a subdomain and make sure the newer website sits on the top domain. As a novice to the backend side of development can someone help?
The older website sits on domain.uk/public
The second sits on dnomain.uk/dev
- 1 You should start with the official documentation: codex.wordpress/Moving_WordPress If you encounter s specific issue, then consider asking a question about that issue. Otherwise any answer to this question would just be reiterating a topic that's extensively documented elsewhere. – Jacob Peattie Commented Oct 24, 2018 at 12:01
1 Answer
Reset to default 0it's more a devops topic.
you will need to replace all occurences of the websites in your Database to the new URL's.
like domain.uk/public
replaced with domain.uk
.
there is a nice wordpress plugin which can do this https://de.wordpress/plugins/better-search-replace/.