重定向到子文件夹中的索引

I have a .htaccess file inside root/en, when you enter the URL root/en I want the site to redirect to root/en/public/index.php and find the index there. I have this solution but for some reason it doesn't work:

RewriteEngine on
RewriteBase /en

ReWriteCond %{REQUEST_URI} !en/public/
ReWriteRule ^(.*)$ en/public/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule .* index.php?/$0 [PT,L] 

If you are using that as front controller then use:

RewriteEngine on
RewriteBase /en/

RewriteRule ^$ public/index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^((?!public/).+)$ public/index.php/$1 [L,NC]