永久链接返回所有子页面的空白页面
我的网站出现问题,并认为可能是我的永久链接有问题,所以我决定重新保存它们以查看它是否有效。
现在,当我访问所有子页面时,它们都返回空白。从某种意义上说,永久链接正在起作用,我在导航栏中看到了漂亮的 URL,但它们返回空白。我可以很好地进入主页,但从那里导航只是空白页面。
有什么我遗漏的东西或者我可以尝试让它们再次工作的东西吗?
它们被保存为月份和名称永久链接结构,我已经使用给定的代码更新了我的 .htaccess 。
任何帮助将不胜感激!
I was having an issue with my site, and thought maybe my permalinks were the problem, so I decided to re-save them to see if it would work.
Now all my sub-pages return blank when I go to them. The permalinks are working in the sense that I see the pretty URL in the navigation bar, but they return blank. I can go to the main page fine, but navigating from there is just blank pages.
Is there something I'm missing or something I can try to get them working again?
They are saved as the month and name permalink structure and I have updated my .htaccess with the given code.
Any help would be appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案(至少对于我的问题)是,我需要删除 .htaccess 文件,并在更改永久链接结构后使用 Wordpress 提供的默认值重新创建它。
The solution (at least to my problem) is that I needed to delete my .htaccess file and re-create it using the default that Wordpress provided after I changed the permalink structure.