Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » FAQ - Atahualpa » General »

How is a 'Not Found' handled

Old Aug 31, 2012, 04:34 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There are two different situations that can cause a 'Not Found'

1) you use the search function to look for something (like 'gibberishxxx') that appears in no post or page in your site.
2) you have a url pointing to a page that does not exist.

in case 1 a search of the database returns no values - this valid request gets a 200
in case 2 the server can't find the page and you get a 404

in both cases Wordpress returns a page to the user and follows a template hierarchy

in case 1 (a search) it looks for 'search.php' and if it doesn't exist, then 'index.php
in case 2 (a 404) it looks for '404.php' and if it doesn't exist, then 'index.php

If it gets to Atahualpa's index.php then the code at the bottom is run and a 'Not Found' is displayed

This is how it works unless you have changed the code, added a search.php or 404.php or added in a plugin that could change the processing, in that case you need to figure it out yourself.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Says ATA Not Found? sleenie Atahualpa 3 Wordpress theme 3 Jul 18, 2011 10:22 AM
How will updates be handled? aam ThemeFrame Presales 3 Apr 18, 2011 11:24 PM
"No Posts found" in Admin View and "Not Found" in Page View dextor Atahualpa 3 Wordpress theme 1 Sep 12, 2009 08:09 PM
[SOLVED] "No Posts found" in Admin View and "Not Found" in Page View dextor Plugins & Atahualpa 0 Sep 12, 2009 02:16 AM

All times are GMT -6. The time now is 09:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.