redirect to https://my-site/wp-admin/ instead of https://my-site/wordpress/wp-admin/ after options updating

The solution was :

  1. not use the index.php to include the folder /wordpress/
  2. not use wordpress/.htaccess
  3. use only .htaccess to point to subfolder

    <IfModule mod_rewrite.c> 
        RewriteEngine On 
        #https
        RewriteCond %{HTTPS} off 
        RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 
        RewriteCond %{HTTP_HOST} ^(www.)?my-site.com$ 
        #point to subfolder
        RewriteCond %{REQUEST_URI} !^/wordpress/ 
        RewriteCond %{REQUEST_FILENAME} !-f 
        RewriteCond %{REQUEST_FILENAME} !-d 
        RewriteRule ^(.*)$ /wordpress/$1 
        RewriteCond %{HTTP_HOST} ^(www.)?my-site.com$ 
        RewriteRule ^(/)?$ wordpress/index.php [L] 
    </IfModule>