Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
大佬们,网站迁移后只能打开首页,点击文章和其他页面就出现404 Not Found nginx,后台也登录不上去了,后台也只能打开登陆界面,输入用户名和密码之后点击登录也是报404 Not Found nginx,这个怎么解决?
之前的服务器用的是宝塔搭建的,现在这个服务器没有用宝塔,用的LNMP一键包搭建的
网站用的typecho
求大佬救命!!
看起来是nginx和php配置的问题, 参考http://docs.typecho.org/servers 具体什么原因建议还是看下nginx(/var/log/nginx/access.log和/var/log/nginx/error.log)和php的日志 如果不会改nginx配置的话还是用宝塔吧.
sand 说:
好的,我在试试看,感谢
楼上说的对。PHP没配置。
location ~ [^/]\.php(/|$) { fastcgi_pass unix:/dev/shm/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; }
@malaohu 感谢,已经处理好了