admin管理员组文章数量:1024710
I am currently building a custom Wordpress theme for my rugby team. I just noticed something and I can't work out whether this has been happening for a while and I have only just noticed it or it is a new thing.
It would appear that any page address without a slash at the end of the address renders a white screen of death.
For example
(url)/fixtures/
works fine but
(url)/fixtures
Gives me a WSOD
I am currently building a custom Wordpress theme for my rugby team. I just noticed something and I can't work out whether this has been happening for a while and I have only just noticed it or it is a new thing.
It would appear that any page address without a slash at the end of the address renders a white screen of death.
For example
(url)/fixtures/
works fine but
(url)/fixtures
Gives me a WSOD
Share Improve this question asked May 27, 2014 at 14:11 Ben WainwrightBen Wainwright 1291 silver badge7 bronze badges 2- Have you tried removing the trailing slash in your permalink structure from Settings->Permalinks and then save the changes? d.pr/i/X2sR – TomHarrigan Commented May 27, 2014 at 14:14
- 2 Typical behavior is a redirect from slash-less to slashed. Do you have this trouble with a buncled theme like Twenty Fourteen and with plugins disabled? – s_ha_dum Commented May 27, 2014 at 14:41
2 Answers
Reset to default -1I solved my own problem by debugging all the different functions.php includes.
One of the files had some whitespace at the beginning.
I had the same issue, turns out i had ?> at the end of functions.php that was NOT needed. Deleted it and all is fixed.
I am currently building a custom Wordpress theme for my rugby team. I just noticed something and I can't work out whether this has been happening for a while and I have only just noticed it or it is a new thing.
It would appear that any page address without a slash at the end of the address renders a white screen of death.
For example
(url)/fixtures/
works fine but
(url)/fixtures
Gives me a WSOD
I am currently building a custom Wordpress theme for my rugby team. I just noticed something and I can't work out whether this has been happening for a while and I have only just noticed it or it is a new thing.
It would appear that any page address without a slash at the end of the address renders a white screen of death.
For example
(url)/fixtures/
works fine but
(url)/fixtures
Gives me a WSOD
Share Improve this question asked May 27, 2014 at 14:11 Ben WainwrightBen Wainwright 1291 silver badge7 bronze badges 2- Have you tried removing the trailing slash in your permalink structure from Settings->Permalinks and then save the changes? d.pr/i/X2sR – TomHarrigan Commented May 27, 2014 at 14:14
- 2 Typical behavior is a redirect from slash-less to slashed. Do you have this trouble with a buncled theme like Twenty Fourteen and with plugins disabled? – s_ha_dum Commented May 27, 2014 at 14:41
2 Answers
Reset to default -1I solved my own problem by debugging all the different functions.php includes.
One of the files had some whitespace at the beginning.
I had the same issue, turns out i had ?> at the end of functions.php that was NOT needed. Deleted it and all is fixed.
本文标签: theme developmentWhy am I getting a white screen without a slash at the end of the address
版权声明:本文标题:theme development - Why am I getting a white screen without a slash at the end of the address? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745608887a2158887.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论