I have Link :
And i want rewrite to :
So how i can do that, thanks you.
UPDATE
This is my .htaccess
Options +FollowSymlinks
Options -MultiViews
RewriteEngine on 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteCond %{REQUEST_FILENAME}\.php -f 
RewriteRule ^(.*)$ $1.php
RewriteCond     %{SERVER_PORT} ^80$
RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
ErrorDocument 404 https://localhost/404.php
ErrorDocument 403 https://localhost/403.php
 
    