strictlyonlinebiz
Member
Posted 2 years ago #
Please I hope you can help me out. 404 errors on my theme don't load the 404.php file. They all seem to load the bottom part of single.php/index.php that states:
<h1 class="title">Not Found</h1>
<p>I'm Sorry, you are looking for something that is not here. Try a different search.</p>
How can I make it load the actual 404.php?
Thanks in advance.
Try removing that whole <h1 class="title">Not Found</h1> section between <?php endwhile; ?> and `
<?php endif; ?>` at the bottom of the template files.
strictlyonlinebiz
Member
Posted 2 years ago #
It's still not working :(
BadBoyMcCoy
Member
Posted 2 years ago #
I was having a similar problem, the 404 page was just showing my latest post. With the title saying 'Nothing Found For' followed by what ever had been entered in the url.
After a site wide search for 'Nothing Found For' I found the text in the AIOSEO plugin. I deleted whatever had been set in the '404 Title Format:' setting for the plugin and my 404 is working now.
strictlyonlinebiz
Member
Posted 2 years ago #
It suddenly started working for me. I wonder what I did wrong in the first place ;)