.htaccess index.php

My website is online since 2014 but just now I introduced .htaccess to hide index.php

The issue is about various links (on social ecc) that still contain


I would like to know if is possible to reach controller using both



Locally using XAMP it works but online I recive "No input file specified."

Thanks in advance

Paste content of the .htaccess file here.

RewriteEngine on

if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

otherwise forward it to index.php

RewriteRule . index.php