NamePros.Com (http://www.namepros.com/)
-   Programming (http://www.namepros.com/programming/)
-   -   How do I upload webpages to public_html without .html at end? (http://www.namepros.com/programming/453711-how-do-i-upload-webpages-public_html.html)

cjbay 04-04-2008 11:37 PM

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?

jagusa 04-04-2008 11:46 PM

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.

cjbay 04-05-2008 01:48 AM

Awesome it worked! Thanks alot!

Daniel 04-05-2008 05:47 AM

Look into mod_rewrite. It's a much cooler way than lots of folders.


All times are GMT -7. The time now is 08:03 PM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0