Jump to content

No File Extension


Kevin M

Recommended Posts

I've seen quite a few sites that have no file extensions. So instead of the page being /index.php it's just /indexSo I was wondering, how would I be able to achieve this? I read somewhere about adding something to the .htaccess file, but I can't figure out how to do this.Thanks,Kevin

Link to comment
Share on other sites

I think that you are seeing an hypertext reference to the directory and not a file.When the http://domain.com ends without the file extension as per your example, you are taken to the directory and the 'index' file for that directory is activated according to the host's default list of file names. Some use index.html, or index.htm, or sometimes 'home.html, etc. The default filename for the account root can be altered using htaccess on an Apache server.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...