The solution was :
- not use the index.php to include the folder /wordpress/
- not use wordpress/.htaccess
-
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>