Skip to content
生活在宁静的角落

生活在宁静的角落

  • Home
  • Linux
    • Nagios
  • Windows
    • Powershell
    • AD Domain
  • Virtual
  • Applications
    • django
    • Python
  • Storage
  • Network
  • Security
  • Work
  • Life
    • English
    • Download

Nginx + WordPress,所有页面均出现404错误

2021年10月13日 by 加班不给钱

遇到

遇到的问题如下:

    首页能够打开,但是所有文章、链接都出现404错误。

 

解决方案:

    添加try_files $uri $uri/ /index.php?$args; 在location /然后重新加载Nginx的配置文件

Categories Linux
代理PAC 脚本
Ubuntu 20.04 启用root 用户ssh 登陆系统

近期文章

  • Windows 10 自带VPN 拨号 飞塔防火墙
  • Hyper-V三种虚拟网络类型的理解
  • sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: ‘select 1’
  • nginx开启Gzip压缩
  • 系统稳定性治理最佳实践(万字长文)
2023年 9月
一 二 三 四 五 六 日
 123
45678910
11121314151617
18192021222324
252627282930  
« 4月    

  • 370
  • 57
  • 2,599
  • 11,739
  • 150,258
  • 150,258
  • 34,551
  • 4
  • 232
  • 2023年4月23日
登录
© 2023 生活在宁静的角落 • 工业和信息化部备案管理系统网站 沪ICP备14021346号-1