Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.99k forks source link

Allow user to move a registered domain to a site which is being created #93722

Open dev-sabbir opened 1 month ago

dev-sabbir commented 1 month ago

What

Situation: I have two domains A and B on a WP.com site. Now, I want to create a new site where I want to move the domain B.

At this moment, when I try to create a new site and search for the domain B, it shows me the following message:

ozitOo.png

It would be nice, if we can add a button to move the domain to the new site which is being created. Ofcourse, we will want to move the domain only after the site is created and if the domain is on another WP.com site owned by the current user(but these things will be done under the hood if the user opts for it via some checkbox or button).

Why

It can be confusing to non-technical users when they see that they won't be able to create a new site with the domain they have just purchased(but on a different site). Also, it can create a seamless site creation experience.

Besides, it is not clear from the site creation page(where we search for the domain for the new site, screenshot: attached below) that they can move forward by selecting the free domain and then move the domain to the new site.

cb4MWA.png the site creation page(where we search for the domain for the new site; screenshot attached below) does not clearly state that they can move forward by selecting the free domain and then moving

How

If the domain they want to use is not owned by them and added on another WP.com site

  1. We can update the message to something like this: "This domain is already mapped to a WordPress.com site owned by another user. You can either search for a new domain or select the free domain option below to create the site. If you own that domain on another WordPress.com account, you can move that domain to this site after the site is created(maybe a link here to the related support doc)."

MBcT8G.png

If the domain they want to use is owned by them and added on another WP.com site

  1. We can update the message to "This domain is already mapped to another WordPress.com site that you own. Do you want to move the domain to this site when it is created?"
  2. Add a button below that message so that the user can opt out for a domain transfer to the new WP.com site(which can be done under the hood after the site is created).

kjhPQd.png

rafaelgallani commented 1 month ago

Hey there! Thanks for the feedback.

We have something similar, but it only applies in the /start/domains flow. Here's how it looks:

image

Then, after selecting the domain:

image

Once they finish going through the flow, the domain gets moved to the new site.

Is this something similar to what you were thinking? If that's an ongoing issue/confusion point for our users, we could revisit it and apply it in some other flows.

@Automattic/nomado - tagging for visibility.

dev-sabbir commented 1 month ago

Yes, I was looking for something similar. It seems the domains I was trying were not registered on WP.com. They were connected to a WP.com site.

Having said that, I think we can add this feature for mapped domains as well because after creating the site, I could transfer that domain connection to a new site without any issues.