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


  #1  
Old Aug 31, 2012, 05:34 AM
juggledad's Avatar
juggledad
 
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

Bookmarks



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


All times are GMT -6. The time now is 12:22 AM.


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