Typecho 登录返回 302 的解决方法

之前学校要开课就拿 Typecho 糊了一个小网站拿来配合,今天发现登不上去了感觉非常离谱。
F12 抓包看了一下发现登录返回了 302 而且没有附带报错信息,非常非常的离谱。
查了一下文档,没有查到(不过也正常,ty 文档约等于空气)。
研究了一下发现:
修改 Typecho 根目录下的config.inc.php`,添加这么一行:

1
define('__TYPECHO_SECURE__', true);

然后清除一下缓存,他就好了。
总之就是非常离谱

Typecho 登录返回 302 的解决方法

https://omn.cc/archives/30.html

作者

空指针

发布于

2023-11-28

更新于

2023-11-28

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×