php link broken

Hi, i’ve recently bought a php website, but all the links in the website (like login, sign up, etc) are like http://domain.com/login or http://domain.com/register, etc which gives me a 404 error, but after checking in the file manager i found out that all those files are like login.php, register.php in the same root folder. is there any way to make this right ? possibly by editing the htaccess file ? thanks for the help.

Sponsor our Newsletter | Privacy Policy | Terms of Service