View Full Version : how http 404 is handled?
daredashi
09-13-2006, 11:38 AM
i am using 2.0 version and want to upgrade to 3.0 but my concern is about how phpld 3.0 handles http 404 errors? is mod_rewrite is been fixed in ver 3.0.
if possible demo would be great.
also let know how easy to upgrade from 2.0 to 3.0
The first action is taken by .htaccess with the ErrorDocument command.
In case someone is looking for a file or folder that does not exist, the HTTP server will redirect with a 404 header.
The second action is if you are looging for a category that doesn't exist, the script will analyse the request and if nothing matches a 404 header is sent.
To upgrade to phpLD 3.0, you have to overwrite all PHP files, and make some changes to your template files.
Boby
daredashi
09-15-2006, 12:22 PM
Content visible to registered users only.
can i have a demo please.
Content visible to registered users only.
HTTP header results (http://web-sniffer.net/?url=http%3A%2F%2Fwww.phplinkdirectory.com%2Fdemo% 2Fdirectory%2Fthis-url-does-not-exist.html&submit=Submit&http=1.1&gzip=yes&type=GET&ua=Mozilla%2F5.0+%28X11%3B+U%3B+Linux+i686%3B+en-US%3B+rv%3A1.8.0.7%29+Gecko%2F20060913+Fedora%2F1. 5.0.7-1.fc5+Firefox%2F1.5.0.7+pango-text+Web-Sniffer%2F1.0.24)
Boby
daredashi
09-15-2006, 05:11 PM
thank you boby. that answered my lot of querries.
now my next question is can i get normal "page not found" error on http 404 responce instead of redirecting it back to home page of directory ?
if you trace using tool you gave its giving me 200 responce. and i am not sure whether search bot view site that way or not.
here are few links
http://66.102.7.104/search?q=cache:-QB_D6VGRkkJ:www.cyborginfo.com/Analysis-and-Opinion/Shopping/+site:http://www.cyborginfo.com/&hl=en&ct=clnk&cd=6
http://www.google.com/search?hl=en&lr=&q=site%3Ahttp%3A%2F%2Fwww.cyborginfo.com%2F&btnG=Search
this complete wrong cache and my directoy has lot of such stuff.
i am just worried, using PHPLD 3.0 same problem should not arrise. i have lost many pages in cache because of this problem.
i hope you got my problem. (i want plain simple "page not found" on 404)
You can make an addtional redirect to a page of your choice.
Content visible to registered users only.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.