admin管理员组

文章数量:1415684

I have a staging Wordpress site with HostGator at (This is not the actual domain, however it is a subdomain of an existing domain.)

I purchased a new domain from Namecheap and let's call that .

What I want to happen is if someone enters subdomain.domain1 I want them taken to domain2. On domain2 I want the site that is currently at domain1 to be displayed.

Is this possible? Sorry, I know this is probable a simple question.

Thanks!

I have a staging Wordpress site with HostGator at http://subdomain.domain1 (This is not the actual domain, however it is a subdomain of an existing domain.)

I purchased a new domain from Namecheap and let's call that http://domain2.

What I want to happen is if someone enters subdomain.domain1 I want them taken to domain2. On domain2 I want the site that is currently at domain1 to be displayed.

Is this possible? Sorry, I know this is probable a simple question.

Thanks!

Share Improve this question edited Aug 15, 2019 at 20:46 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Aug 5, 2019 at 20:01 MichaelMichael 881 silver badge7 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If you have a WordPress site at the location of the subdomain, you can simply create a redirect with this plugin: https://wordpress/plugins/redirection/.

本文标签: subdomainsHow Do I Redirect a Wordpress Website