wordpress建站:文章404 not found
来源:互联网 发布:淘宝联盟用红包有返利 编辑:程序博客网 时间:2024/06/15 23:38
博客是以lnmp+wordpress4.8搭建的,在完工后发表了一些博客,尝试改掉原本的?p= 模式,修改了固定链接设置,保存更改后,命令行lnmp restart.
再次打开文章却显示404 not found,只好求助于baidu google,可是由于我的打开方式不对以“word press 文章404”搜索,尝试添加修改.htaccess文件,却发现无作用,就这样来回的查找了半天,在一个博客了偶然发现有apache服务器设置,猛然发现自己是属于lnmp niginx服务器的,哎呀,坑爹啊,换个搜索姿势,找到了解决方法。
首先找到自己lnmp安装的环境wordpress.confg,文件一般在/usr/local/nginx/config/wordpress.config 查看有没以下内容,没有的话徐涛添加。
其次,我们需要找到网站的配置文件,/usr/local/nignx/config/vhost/(你网站名.config),在root index.html~~~ 下一行添加include wordpress.conf;
最后,重启 lnmp restart 重新打开就行了。
附上文章地址:http://www.dabu.info/nginx-after-modifying-the-wordpress-permalink-causes-access-article-404.html
阅读全文
0 0
- wordpress建站:文章404 not found
- wordpress 中文 固定链接 not found 404
- 解决wordpress出现404 not found nginx
- 文章标题sqlite3 not found
- wordpress发布文章404
- [wordpress & nginx]除了homepage其他子页面全是404 not found
- ubuntu 下 wordpress 设置 Permalink 为 自定义结构后出现404页面 nginx - 404 not found page for permalinks
- 404 NOT FOUND!
- 404 Not Found
- dedecms添加文章提示/templets/plus/win_templet.htm Not Found!
- wordpress 查看文章出现404错误解决办法
- ADF: Error 404 not found
- 404页面 File not found
- weblogic Error 404--Not Found
- weblogic Error 404--Not Found
- ubuntu phpmyadmin 404 not found
- 记录 hadoop 404 not found
- 小黑小波比.404 (Not Found)
- typename
- Hdu4417 Super Mario(主席树+离散化)
- Java Mongo 查询错误
- Git常用命令总结
- Handler机制简易版
- wordpress建站:文章404 not found
- git操作流程
- 关于数据库安装的debug
- HTML 标签—2
- Android Activity URL Scheme的介绍与应用
- 耗材数量填写不能大于质检数量验证
- Dockerfile构建spring Cloud微服务镜像
- bzoj 3144 切糕 最小割 解题报告
- 关于vueThink框架打包发布的一些问题