WP Toolkit 4.6 is Now Available

We’ve just released the WP 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 WP Toolkit and cPanel.

Discover WP Toolkit

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:

wordpress-toolkit-4.6-update-website-url - Plesk

When the WordPress admin clicks the link, WP 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.

wordpress-toolkit-4.6-update-site-url-2

If the URLs don’t match, WP 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.)

wptk-4.6-update-site-url-3

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:

wptk-4.6-wordpress-website-url-4

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.

Cloning CLI

We’re officially introducing CLI for cloning procedures in WP 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

   -source-instance-id INSTANCE_ID

   (-target-domain-name DOMAIN_NAME | -target-domain-id DOMAIN_ID)

   [-target-path PATH]

   [-target-db-name DB_NAME]

   [-target-db-server-id DB_SERVER_ID]

   [-target-db-user-login DB_USER_LOGIN]

   [-force-overwrite yes|no]

   [-format raw|json]

   [-show-progress yes|no]

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

WP 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

   -source-instance-id SOURCE_INSTANCE_ID

   -target-instance-id TARGET_INSTANCE_ID

   [-data-to-copy all|files|db]

   [-files-replace-modified yes|no]

   [-files-remove-missing yes|no]

   [-db-tables-copy-mode default|all|new|selected]

   [-db-tables COMMA_SEPARATED_LIST_OF_TABLE_NAMES]

   [-exclude-db-tables COMMA_SEPARATED_LIST_OF_TABLE_NAMES]

   [-create-restore-point yes|no]

   [-show-progress yes|no]

WP 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.

WP Toolkit for cPanel and Future Plans

We’ve made a lot of progress on the cPanel front with regards to WP 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.

wordpress-toolkit-4.6-in-cpanel

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, WP Toolkit 4.7, will also include fixes of customer-reported bugs and some long-awaited user features and improvements.

Thanks again to the whole WP Toolkit team for their hard work, and thank you for your attention. Until next time!

4 Comments

  1. Hi Andrey,

    Thanks for the feature.
    When ever user clones his website, wouldn’t it be better if the feature automatically change the url?

    Furthermore, wouldn’t it be better if user would have an option to put a url in a text box and perform a “url change”.

    There are many cases where url doesn’t change or the feature thinks that the url is fine. Most of these cases are with websites that use elementor.

    Today you have millions of websites using elementor, and this feature didn’t solve anything for us because elementor is saving its urls in other way.

    • Cloning sites actually updates the URL automatically. Unfortunately, not all plugins and themes are created equal, and some of them are using different URL structures that are missed during the search-and-replace operations. As you can imagine, giving the ability to change site URL to a user-provided URL won’t help in this case. We’ll look into how Elementor works to make sure the WordPress Toolkit fully supports cloning it.

  2. Hi Andrey,
    when will the issues with elementor be sorted ??
    Stas highlighted it on 18th april

    • Laura from Plesk
      Laura from Plesk Moderator

      Hi Peter! We’re still looking into it. And we’d like to address this in one of the upcoming WPT releases. Thank you for your comment!

Add a Comment

Your email address will not be published. Required fields are marked *

GET LATEST NEWS AND TIPS

  • Yes, please, I agree to receiving my personal Plesk Newsletter! WebPros International GmbH and other WebPros group companies may store and process the data I provide for the purpose of delivering the newsletter according to the WebPros Privacy Policy. In order to tailor its offerings to me, Plesk may further use additional information like usage and behavior data (Profiling). I can unsubscribe from the newsletter at any time by sending an email to [email protected] or use the unsubscribe link in any of the newsletters.

  • Hidden
  • Hidden
  • Hidden
  • Hidden
  • Hidden
  • Hidden

Related Posts

Knowledge Base