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.