I have a question about removing the ending of a file in the url bar (the .something like .php, .html, .js, .asp part). My goal is such that whenever somebody is typing in the url something like www.123.com/a where the file is, let's say a php file( so it's a.php ) so that people can type in www.123.com/a instead of www.123.com/a.php. How do I fix this?
Is there some unique way to save files so that they are saved and can be called via the url just by its name? In my case, if I call www.123.com/a it will say "object not found error" but it will work for www.123.com/a.php.
How do I hide the .something part of a file in the url bar?
Additional notes, I use notepad so whenever I save I type in a.php as save as for PHP or a.js for javascript files.