AWS 构建个人网站(2)
来源:互联网 发布:华为荣耀8数据 编辑:程序博客网 时间:2024/06/02 15:55
笔记:
How to remove ‘WordPress’ from your URL
(cd /var/www/html)
- Install and create your WordPress Website in a directory namedwordpress on your Host.
- Go to http://example.com/wordpress/wp-admin/options-general.php(substitute example.com with your domain name.
- In the ‘WordPress address (URL):’ field change the address to the location of your main WordPress core files and in the ‘Site address (URL):’ field change the address to the root directory URL.
- Save your changes.
- Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (note you copy these files so you now have copies in the WordPress folder as well as in the root). You won’t have a .htaccess if you aren’t using WordPress permalinks so don’t worry if you don’t have a .htaccess file.
- Open your root directory’s index.php file in a text editor (Notepad++ is the best php editor out there and it’s free)
- Change the line:
require('./wp-blog-header.php');
to
require('./wordpress/wp-blog-header.php');
- Login to your WordPress dashboard at http://example.com/wordpress/wp-admin/
- Update your Permalinks at http://example.com/wordpress/wp-admin/options-permalink.php
E37: No write since last change (add ! to override)
sudo chmod 600 ××× (只有所有者有读和写的权限)
sudo chmod 644 ××× (所有者有读和写的权限,组用户只有读的权限)
sudo chmod 700 ××× (只有所有者有读和写以及执行的权限)
sudo chmod 666 ××× (每个人都有读和写的权限)
sudo chmod 777 ××× (每个人都有读和写以及执行的权限)
0 0
- AWS 构建个人网站(2)
- AWS 构建个人网站(1)
- 打算构建一个个人网站
- 基于虚拟主机构建个人网站
- Bootstrap构建一个个人网站
- 第一次构建个人网站的记录
- 个人网站搭建(2)
- AWS EC2 构建web服务器
- 淘宝技术发展(个人网站)(2)
- 淘宝技术发展2(个人网站)
- 用Wordpress搭建个人网站(2)
- TinyUI入门实践之快速构建个人网站
- 创建个人网站(二) 网站备案
- 淘宝技术发展(个人网站)
- 淘宝技术发展(个人网站)
- 淘宝技术发展(个人网站)
- 个人网站搭建(1)
- 个人网站搭建(3)
- 实战系列:OpenStack部署都有哪些方式
- 了解各模块版本
- 个人笔记 asp 05 asp清除session
- 个人笔记 asp 06 asp重定向页面
- 旧版本相机系统
- AWS 构建个人网站(2)
- 【 bzoj 1500 】NOI2005 维修序列 - 平衡树乱搞 treap
- POJ 3126 -- 素数判定(埃氏筛法)+BFS
- MySQL 存储过程 批量插入
- 个人笔记 asp 07 替换函数
- BZOJ 1001: [BeiJing2006] 狼抓兔子
- MongoDB_排序
- hdu 1233 还是畅通工程(最小生成树)
- nefuoj-904:删数问题