NameSilo

How do I upload webpages to public_html without .html at end?

Spaceship Spaceship
Watch

cjbay

Established Member
Impact
1
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:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
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.
 
0
•••
Awesome it worked! Thanks alot!
 
0
•••
Look into mod_rewrite. It's a much cooler way than lots of folders.
 
0
•••
Appraise.net

We're social

Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back