Thomas,
The plugin settings are stored under multiple-domain-domains
option in the WordPress’ options table. That table is usually named wp_options
. The value is stored as a serialized array. For a single domain (localhost:8080), it would look like this:
a:1:{s:14:"localhost:8080";a:2:{s:4:"base";s:1:"/";s:4:"lang";s:5:"en-US";}}
You can have a PHP code similar to the following to generate the option_value
:
$domains = [
'localhost:8000' => [
'base' => '/',
'lang' => 'en-US',
],
];
$option_value = serialize($domains);
With the contents of $option_value
you should be able to run the following SQL query:
UPDATE wp_options SET option_value = '[OPTION_VALUE]' WHERE option_name = 'multiple-domain-domains';
Just remember to replace the [OPTION_VALUE]
with the actual serialized array.
Let me know in case you have further questions.