As soon as is add the code in .htaccess regarding php extension removal my site doesn’t get redirected to the particular directory as i have created a folder inside that their are 2 different folders one is for students and other one is for faculty so as soon as i type /student.php it doesn’t get redirected to /student even after adding it to .htaccess.
Following is the code which i have added to .htaccess:-
For best results, you should only use the letters a-z, A-Z, the numbers 0-9, hyphens (-), underscores (_) and periods (.). Any other character could get you in trouble, causing the file not to load or the page to load incorrectly.
it is best to use lowercase letters, also Do Not Use Any Spaces