Usuń rozszerzenie php z adresu URL

Mam adres URLexample.com/lt.php/example i chcesz usunąć .php, który będzieexample.com/lt/example
Próbuję z htacces, ale myślę, że to niemożliwe

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ http://moliplante.com/folder/$1 [R=301,L]

RewriteCond %{THE_REQUEST} ^(.+)\.php([#?][^\ ]*)?\ HTTP/
RewriteRule ^(.+)\.php$ http://example.com/folder/$1 [R=301,L]

RewriteRule ^([^/.]+)$ $1.php [L]

questionAnswers(2)

yourAnswerToTheQuestion