admin管理员组

文章数量:1130349

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

Share Improve this question edited Oct 24, 2018 at 12:11 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Oct 24, 2018 at 11:50 Ginger LivesGinger Lives 1 1
  • 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
Add a comment  | 

1 Answer 1

Reset to default 0

it'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/.

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

Share Improve this question edited Oct 24, 2018 at 12:11 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Oct 24, 2018 at 11:50 Ginger LivesGinger Lives 1 1
  • 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
Add a comment  | 

1 Answer 1

Reset to default 0

it'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/.

本文标签: domainMove site to subdomain