如何加载本地html文件来制作主机?

时间:2013-12-26 23:39:30

标签: wordpress web

我想建立一个由几个静态页面组成的个人主页 关于我,联系,爱好等。

我发现wordpress太复杂了。

我的首选方式如下:

  1. 将某人主页的源代码下载到我的本地磁盘,例如this
  2. 修改内容,以便将其姓名更改为我的姓名,将其所属关系更改为我的名称等。
  3. 将此本地htmls上传到网络。
  4. 我不知道如何做第3步。我目前从namecheap购买了一个域名,它托管在hostblue上。 Wordpress安装在主机上,但我觉得浪费时间来适应它的花哨的用户界面 - 我更喜欢从头脑中轻松的原因。

    谁能告诉我如何做第3步?谢谢

1 个答案:

答案 0 :(得分:5)

Follow these steps:
1) Download fresh copy of wordpress.
2) Copy any theme and rename according to your wish. Open it and go to style.css
   remove all css code from "style.css" file. Now copy your static site's css 
   and paste in "style.css" file. But at the top of css write this code:
   /*
   Theme Name: Your Theme Name
   */
 3) Open Filezilla and fill the server details ( eg. hostname, password, username ).
 4) If you are connected, open public_html folder and upload wordpress folder here.
 5) It will take time to upload. Wait...
 6) If successfully uploaded to the host, open your browser and type your sitename.
 7) You will be asked to fill some information ( eg. database name, password etc ).
 8) If you filled all information correctly then good.
    Cheers!!! Your site is ready on Wordpress.
    Let me know what happened?