Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[May 17, 2024, 05:02:16 PM]

[May 17, 2024, 05:02:16 PM]

[May 17, 2024, 05:02:16 PM]

[May 17, 2024, 05:02:16 PM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[March 06, 2024, 02:45:27 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Techno Articles » Internet
 Spotting HTTP Errors
Pages: [1]   Go Down
  Print  
Author Topic: Spotting HTTP Errors  (Read 956 times)
Stephen Taylor
TWI Hero
**********



Karma: 3
Offline Offline

Posts: 15522

unrealworld007
View Profile
Spotting HTTP Errors
« Posted: July 15, 2007, 04:50:49 PM »



You’ve all seen it on our Internet browsers: http://www.(insert name of website here).” HTTP is the protocol that sends information through the Internet. Usually webmasters will see a message similar to this, called an HTTP header.


HTTP/1.1 200 OK
Content-Type: text/html
Connection: close

The first outlines the HTTP protocol, and the response code that signifies the desired result of a request. The rest are field names, called response headers. All three introduce the text of the page, or the picture file.

However, a simple programming mistake can lead to errors in your HTTP headers. It’s important to look at them to see if it’s correct. The following are the meanings of each HTTP header to serve as a guide for your examinations.

“HTTP Status Code - 200 OK” means that the request for content was successful, and information will be sent based on the particular meto

The request has succeeded. The information returned with the response is dependent on the method used in the request.

“HTTP Status Code - 301 Moved Permanently” informs the searcher that there have been permanent URL changes. Double check that this uses one of the returned URLs. In effect, the user is informed never to return to the old address again. Use with caution.

“HTTP Status Code - 302 Found” means that the content is temporarily not found on the address (perhaps if the site is offline and is being changed). However, you are informing the client that he should still use the old website address in the future. This is similar to “HTTP Status Code 307” which temporarily redirects the user to another website.

“HTTP Status Code - 304 Not Modified” This is a conditional “Get” request. It is crucial that you check the 304 response to ensure that it doesn’t contain the message body. The content ends after the first empty line after the header.

But when the message is “HTTP Status Code - 401 Unauthorized” and “HTTP Status Code - 403 Forbidden” the user is informed that the website needs authorization to allow further access to the content.

“HTTP Status Code - 400 Bad Request” means there is a syntax error and must be corrected immediately. This is also related to “HTTP Status Code - 404 Not Found” which basically says that there is nothing on the Internet matching that request. If these two messages appear, you need to go to your website programming and review it for any errors.

Another error message is “HTTP Status Code - 410 Gone” which means the resource has disappeared. The user is not directed to any new site, and this is essentially a digital version of snail mail returning with the stamp “resident not found, no forwarding address”. If you have link editing functions, you should delete any references to this URL. For all intents and purposes, it’s “dead”.

You may also receive messages that there are glitches with the system, not the link. “HTTP Status Code - 500 Internal Server Error” and “HTTP Status Code - 501 Not Implemented” means there’s a problem with the server.

XML-Sitemaps.com provides various SEO tools including a HTTP header viewer.


Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.114 seconds with 24 queries.