Baby Astronaut Posted June 6, 2012 Share Posted June 6, 2012 For example, without .html. Or, www.scienceforums.net/index rather than www.scienceforums.net/index.php I've even seen it where they just keep adding deeper pages, each separated by a slash. Like so www.scienceforums.net/index/how-do-I-make-a-url-without-a-second-extension/the-answer My webpages are set up as a normal file structure. I put all .htm pages in the home folder, and images, .css, etc., in a deeper folder. Is this as simple as not giving the file an extension? For example, naming it example rather than example.htm (it just occured to me ) If so, I still don't understand how to make one file a deeper part of the other (in the file hierarchy and resulting URL) Link to comment Share on other sites More sharing options...
the asinine cretin Posted June 6, 2012 Share Posted June 6, 2012 You can do that with url mapping. The specifics depend on your web server or application framework. Link to comment Share on other sites More sharing options...
Baby Astronaut Posted June 6, 2012 Author Share Posted June 6, 2012 I don't have a server, just the web hosting company from who I got the domain name. Link to comment Share on other sites More sharing options...
Greg H. Posted June 6, 2012 Share Posted June 6, 2012 I don't have a server, just the web hosting company from who I got the domain name. You would have to check with them. As Cretin says, it depends on what they're hosting the web site on. Link to comment Share on other sites More sharing options...
Baby Astronaut Posted June 6, 2012 Author Share Posted June 6, 2012 Ah, I see. Well they have a bunch of web tools I can use, like Joomla, Wordpress, etc. I'll have to start using them to find out Link to comment Share on other sites More sharing options...
khaled Posted June 7, 2012 Share Posted June 7, 2012 (edited) There are two methods for that, 1. use URI mapping through the Web Server or the Framework, for example in Java Server, you have web.xml 2. using File System hierarchy, Where under your web root folder, every page is a folder (not a page) named as a page, under that folder is a single page named home.xxx http://www.scienceforums.net = http://www.scienceforums.net/home.php .. / a / b / c = .. a / b / c / home.xxx Edited June 7, 2012 by khaled Link to comment Share on other sites More sharing options...
Ben Banana Posted June 8, 2012 Share Posted June 8, 2012 If you're using Apache HTTP Server (you probably are), I think this should help: http://httpd.apache.org/docs/2.2/configuring.html The contents are hard to navigate... but that's all I've got. Sorry I cannot be of more help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now