What
We recently introduce the possibility to assign a custom local domain to a given site created in Studio.
That said, it is not possible right now to edit the domain for an existing site.
In the same way, we're introducing SSL support #1034 on site creation but not edition.
Why
A small technical limitation is preventing that, it seems common sense to remove this limitation.
How
If we want to allow editing these features, we would have to trigger a configuration change in WordPress and update the database maybe by running a WP CLI command
wp search-replace 'http://example.local' 'https://example2.local'
I believe this logic might already be present in Studio for push/pull support, so let's try to use the same logic/code.
What
We recently introduce the possibility to assign a custom local domain to a given site created in Studio.
That said, it is not possible right now to edit the domain for an existing site.
In the same way, we're introducing SSL support #1034 on site creation but not edition.
Why
A small technical limitation is preventing that, it seems common sense to remove this limitation.
How
If we want to allow editing these features, we would have to trigger a configuration change in WordPress and update the database maybe by running a WP CLI command
I believe this logic might already be present in Studio for push/pull support, so let's try to use the same logic/code.