| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Aug 2007
Posts: 265
![]() | How do I upload webpages to public_html without .html at end? I want people to be able to go to a normal page, not a page with .html at the end. For example, I have http://www.website.com. I want to upload the page titled "Tips" so people can go to http://www.website.com/tips But when I upload it using filezilla to public_html folder (I host through hostgator), it renames the file as tips.html so I have to send people to http://www.website.com/tips.html for them to see the page. How do I get rid of the .html at the end?
Last edited by cjbay; 08-03-2008 at 04:42 PM.
|
| |
| | #2 (permalink) |
| Senior Member Join Date: Jul 2006 Location: Southern California
Posts: 2,283
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Make a directory called tips and place a file index.html into it. Generally, that will do the trick. Then, if someone goes to: domain.com/tips they will arrive at the index.html file within the tips folder.
__________________ Hi! |
| |