Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

How do I add a html file to a website through cpanel with template?

The file uploads but does not do so in the site's template

9:57 pm on Sep 10, 2010 (gmt 0)

Full Member

5+ Year Member

joined:June 5, 2009
votes: 1

I can upload a file through cpanel for the appropriate site after saving the file in notepad, but unfortunately when I visit the web page after uploading it the page just looks like a notepad page and does not show with the site's template.

When I go to the editor in the cpanel, the page just has the article but none of the code while all other pages have code. How do I upload the page to include the code?

I bought the site a while back and is a html site. I usually don't come across this problem since all my other sites are in Wordpress.

By the way, I am a person with very limited technical know-how as far as code is concerned.
4:11 am on Sept 11, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
votes: 0

If you're editing in NotePad, it is most likely saving it with the default extension of NotePad - txt. Save it with an .html extension.

File -> Save as
In the "Save As Type" drop down select "All Types"
specifically assign the .html extension in the file name: "index.html"