Hi! ChatGpt has the solution. You can insert in the .htaccess in the root this string:
# Reindirizza tutto alla sottocartella "subfolder"
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /subfolder/$1 [L]
</IfModule>
and if that wasn’t enough you can insert in wp-config.php
define('WP_SITEURL', 'https://yoursite.com/subfolder/');
define('WP_HOME', 'https://yoursite.com/');
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/subfolder/');
define('WP_CONTENT_URL', 'https://yoursite.com/subfolder/wp-content');
define('WP_PLUGIN_URL', 'https://yoursite.com/subfolder/wp-content/plugins');
But the first change should be enough. I hope I was helpful! It would be convenient if the plugin itself already offered the possibility of making this change within the backend rather than modifying the code for those who are less familiar.