Hello,
I noticed that the file .htaccess that exists in the new installation contain the following
RewriteEngine On
#RewriteBase /subfolder
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Remove the hash in front of the following two lines if you want to force HTTPS
#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
But actual when I changed the /subfolder to any directory name example.com/ip the line of " RewriteRule . /index.php [L]" must be without slash “RewriteRule . index.php [L]” because it navigate the index.php of the root directory.
Correct me if I’m wrong.
Regards