Sharing link question

Hi All,

When I currently share a link I get a link that has the domain/index.php/etc

Is it possible to lose this .PHP? Most people may not like this when they receive an email that has a PHP extension.
Is it possible to change this somehow?

Thanks