Symptoms
-
On a Plesk server, a WordPress instance is installed on a subdomain one.example.com of the domain example.com.
-
That WordPress instance is shown in Domains > one.example.com > WordPress.
-
After the name of the main domain is changed to example.net, the URL of the WordPress instance on the subdomain is still one.example.com instead of one.example.net.
Cause
Product issue:
-
#EXTWPTOOLK-2268 “WordPres Toolkit now properly updates site URL when a WordPress site is hosted on a subdomain and the main domain is renamed.”
Fixed in:- WP Toolkit 5.0.0 30 September 2020
Resolution
Workaround
If update is not possible for some reason you may try the following
workaround
Until the bug is fixed, use the workaround:
-
Go to Domains > one.example.net > WordPress.
-
In the card of the instance one.example.com, switch to the tab Database and click open in phpMyAdmin next to Database name.
-
In phpMyAdmin, select the table
<table_prefix>_options
. -
For options
siteurl
andhome
, change the value in the columnoption_value
so it contains the new subdomain name: https://one.example.net. -
Return back to the tab with Plesk and click Refresh
in the instance card.