Support » Fixing WordPress » what page.php is served when a page is not found?
4 years, 6 months ago
What page is served up by word press if a page is not found?
Thanks but what other pages are pulled in with the default theme ?
That depends upon the theme. In Twenty Eleven, both header.php and footer.php are also called but that may not be the case in all themes.
ya its not with in the theme if you do something like this
http://www.adszoom.com/tweet you get an error. I have no plug in for redirect installed. I came across this by mistake. If someone dose use a bad /whatever it should go to page not found correct?
Not all themes have a 404.php file. Some handle 404s via the Loop in their index.php template files.
ah so its an issue in cpanel then? I think? what do you think?
I didn’t say that. Have you tried:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the Twenty Eleven theme to rule out any theme-specific problems.
– resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
Yes tried that thanks thou ill update this for sure when i get it