I have a website on a server with every file in the same folder. For my links on the website, I use simple for the links with the name of the file with a html or php extension.
I want to hide the HTML
and php
extensions and replace them with /name/
. I have located an .htaccess file on the server and I have deleted the content. I read and tried the examples given in the other questions but non of them worked.
- What is the usual process of eliminating the extensions?
- Does it have anything to do with how I am linking the files?
- Is it possible to name the files without the extension altogether?