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

 Blackage 发布于 2023-02-07 23:46

我想建立一个由几个静态页面组成的个人主页,比如我,联系人,爱好等.

我发现wordpress太复杂了.

我的首选方式如下:

    下载到我本地磁盘的某人主页的源代码,例如这个

    修改内容,使他的名字改为我的名字,他的隶属关系改为我的,等等.

    将此本地htmls上传到网络.

我不知道如何做第3步.我目前从namecheap购买了一个域名,它托管在hostblue上.Wordpress安装在主机上,但我觉得浪费时间来适应它的花哨的用户界面 - 我更喜欢从头脑中轻松的原因.

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

1 个回答
  • 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?
    

    2023-02-07 23:57 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有