• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

WP Toolkit on cPanel: Unable to select "www" alias in "Use existing domain" dropdown (Global request)

souzadavi

New Pleskian
Server operating system version
CloudLinux v8.10.0 / AlmaLinux
Plesk version and microupdate number
NA
Hello everyone,

I am a server administrator with root access, and I’m facing a persistent limitation regarding domain selection within WP Toolkit on cPanel.

The Problem:When a user tries to Install or Clone a WordPress site using the "Use existing domain" option, the dropdown menu only displays the root domain (e.g., domain.com.br) and explicit subdomains. It does not show the www alias (e.g., www.domain.com.br), even though the alias is correctly configured in the Apache VHost and managed by cPanel.

Many of our clients specifically require their sites to be installed/cloned with the www prefix for SEO and branding reasons. Currently, they are forced to clone to the root domain and then manually use the "Update Site URL" tool afterward, which is an unnecessary extra step for a high-volume environment.

What has been tried so far (as Root):
  1. config.ini modification:We edited /usr/local/cpanel/3rdparty/wp-toolkit/var/etc/config.ini adding:
    Code:
    [wpToolkit]
    allowWwwSubdomain = true
    We tried variations like [wp-toolkit] and cleared the cache using wp-toolkit --clear-cache, but the www option still does not appear in the UI.

  2. WP Toolkit CLI:Attempting to set the option via CLI returned an error:# wp-toolkit --config -operation set -option-name allowWwwSubdomain -option-value true Error: Unable to set unknown configuration option "allowWwwSubdomain"

  3. WHM Tweak Settings:We explored Tweak Settings (like "Share document root"), but these do not affect how WP Toolkit filters the domain list.

The Goal:I am looking for a global, server-wide solution to allow the www alias to be selectable in the WP Toolkit interface for all users.

Is there a specific configuration flag for the cPanel version of WP Toolkit that enables this? Or is this a hard-coded filter that ignores aliases by design? I have already submitted an official feature request at https://features.plesk.com/, but I'm not sure if it's in the right place. Could you please take a look and give this some attention?

Could you please clarify:
  • Which category should I use on the features portal to ensure this reaches the WP Toolkit developers responsible for the cPanel integration?
  • Is there a planned roadmap for aligning the config.ini capabilities between the Plesk and cPanel versions of the Toolkit?

Currently, our users have to perform a manual "Update Site URL" after every clone/install, which is inefficient for professional workflows. We need a way to make the www alias selectable by default.


Environment:
  • OS: CloudLinux / AlmaLinux
  • Control Panel: cPanel (Latest Version)
  • WP Toolkit: v6.x (Latest)



Thank you for your help and insights!
 
Hi, @souzadavi . On Plesk, there's a in-panel setting that allows users to control the preferred domain and based on it affect the WordPress installation URL (www or non-www). WP Toolkit is a shred product between Plesk and cPanel and for the behavior you are describing it will probably make more sense to bring cPanel's attention rather than Plesk's. They have an equivalent of our feature request platform at:
 
Back
Top