We’ve just released the WordPress Toolkit 4.6 update – the second update in 2020. Read on to learn about the new things we introduced. Including Website URL updates, Cloning and Data Copy CLI, and other improvements. Plus, a heads up on further plans regarding WordPress Toolkit and cPanel.
Website URL Update
One of the frequent cases our partners encounter is the migration of websites to their server by customers. WordPress stores the website URL in its database – and sometimes, in the configuration file. Therefore, such migrations require some manual tinkering to make the website work as usual. To help users, we’ve added the ability to perform this action with a couple of clicks straight from WPT UI.
This feature is called ‘Update Site URL‘ and it’s available in the ‘hamburger’ menu on a WordPress site card:
When the WordPress admin clicks the link, WordPress Toolkit checks the actual site URL. Basically, what you’re seeing in the site card header. And then compares it to what WordPress thinks is the site URL. If these two URLs match, all you can do is close the window and live happily ever after.
If the URLs don’t match, WordPress Toolkit offers you a one-click update site URL in WordPress. Synchronizing it with the actual URL where the site is currently hosted (according to the control panel.)
The process is quite quick: we’re looking for the “wrong” URL in WordPress database and wp-config.php file, replacing it with the “right” URL:
However, there are certain edge case limitations to this feature. For example, it’s not available for multisite installations (yet). So, we’ll take a look at our customer feedback before deciding our next steps. Meanwhile, this feature should be a time-saver for hosters and agencies who deal with migrated websites on a regular basis. It should also help non-professional users who’re scared of running wp-cli or modifying their site’s database directly.
We’re officially introducing CLI for cloning procedures in WordPress Toolkit 4.6. This feature provides access to a full range of cloning options via the command line interface. Here’s the brief usage info:
plesk ext wp-toolkit --clone
(-target-domain-name DOMAIN_NAME | -target-domain-id DOMAIN_ID)
You may notice there are no commands for creating a new subdomain during cloning – something that’s actually available in the UI. We’re talking about CLI, which is used for integration and automation. So, there are assumptions that server administrators will use panel CLI/API to create subdomains before running the cloning CLI.
Data Copy CLI
WordPress Toolkit 4.6 also introduces the CLI for data copy feature. Thus, allowing server administrators to perform everything they need via the command line interface. Here’s some brief usage info below:
plesk ext wp-toolkit --copy-data
WordPress Toolkit 4.6 Bugfixes and Improvements
We’ve revised our bug backlog to make sure we’re addressing multiple customer issues in this release. To improve our team efficiency, we have started to use Amazon AWS to run some of our tests. We’ll continue investing in improving our development and testing process. All to make sure we can deliver more things with higher quality in time.
WordPress Toolkit for cPanel and Future Plans
We’ve made a lot of progress on the cPanel front with regards to WordPress Toolkit 4.6. Particularly the development of WordPress installation function and providing full CLI support. We also addressed a lot of fundamental UI integration questions, and even cooked up a prototype of the cloning functionality. We have already switched to the “make it work everywhere” paradigm when developing new features. So, our new ‘Update Site URL’ feature is also available in the current cPanel build.
In light of our next release, we’re planning to continue working on the cPanel integration. This includes: finalizing cloning, introducing Smart Updates, and starting to catch up on the additional security measures. Our next release, WordPress Toolkit 4.7, will also include fixes of customer-reported bugs and some long-awaited user features and improvements.
Thanks again to the whole WordPress Toolkit team for their hard work, and thank you for your attention. Until next time!