0% found this document useful (0 votes)
12 views

akaaki157_17-most-common-http-website-errors-and-codes

Uploaded by

Harsh Nagar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

akaaki157_17-most-common-http-website-errors-and-codes

Uploaded by

Harsh Nagar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

17 Most Common HTTP Website Errors & Codes Cheat Sheet

by Aki Stepinska (AkaAki157) via cheatography.com/127651/cs/24864/

200 OK 400 BAD REQUEST (cont) 405 METHOD NOT ALLOWED

This code indicates a properly functi​oning To Fix The server is refusing to perform your
page. Yay – success! You should: 1) Check your internet request. The web browser placed a request
connection and settings; 2) Clear your for the web page, but the server is refusing
301 Permanent Redirect cache; 3) Try a different browser. to fulfill it.

If you want to redirect bots and visitors, who To Fix


land on page A to go to page B, you need to 401 UNAUTH​ORISED If it is an error in the web site's code or a
use 301 permanent redirect. Frequently You are not authorized to access the page faulty redirect, it has to be fixed on the
used to redirect an old domain to a new one you are trying to visit. A login was back-end. However, you can always check:
or to redirect whole domains from http to presented, but you didn’t log in properly. 1) The spelling of the requested URL; 2)
https. About 85% of the linking juice1 that is Rollback recent upgrades to the site; 3)
To Fix
originally sent to Page A is moved to Page Uninstall new extens​​ions, plugins; 4) Check
To access this web page, you need to
B. the .htaccess file in your public​​_html
obtain a password. Contact the web page
To Fix directory.
admini​strator or owner.
Server​-side 301 redirects can be configured
408 REQUEST TIMEOUT
in the .htaccess file, located in the website’s 403 FORBIDDEN
public​_html folder. The request to retrieve the page was
You are not allowed to visit the page you
1ht​tps​://​ahr​efs.co​m/b​log​/30​1-r​edi​rects/ stopped before the server finished fetching
requested. You were trying to access a
page inform​ation, which can happen if you
directory or page that you don’t have
1) closed the browser too quickly; 2) clicked
302 Temporary Redirect access to, and there was no login
on a link too soon, or 3) hit a stop button in
You can use 302 redirect if you want bots presented.
the browser.
and visitors who land on Page A to go to To Fix
To Fix
Page B tempor​arily. None of the linking To access the web page, you need to
Try to reload and access the page again.
juice 2 that is originally sent to Page A will be obtain an account or a login. Try going back
passed to Page B. 302 redirects are not to to the home page and checking if you can
410 GONE
be used as permanent solutions. sign-up for an account.
To Fix You are trying to access a web page that
404 NOT FOUND doesn’t exist. The page is no longer
There are times when using 302 redirect is
available from the server, and there is no
approp​riate: 1) A/B testing of a webpage; 2) You are trying to access a web page that
forwarding inform​ation available.
Getting client feedback on a new page; 3) doesn’t exist. You get the 404 error
Fixing a broken webpage. To Fix
whenever you 1) mistype the URL; 2) Try to
2htt​ps:​//w​ww.s​eo​cla​rit​y.n​et/​pil​lar​/ur​l-r​edi​‐ access a deleted or a moved page; or 3) Remove any references or links on your
Access a page with a broken link. website to ghost pages; otherwise, you are
rects
sending visitors to dead ends.
To Fix
400 BAD REQUEST Set-up custom 404 pages with instru​ctions
The request to visit the website was for the visitors where they should go next
corrupted, & the applic​ation you are using (i.e., Home Page). Double​-check the URL
(e.g., your web browser) accessed it incorr​‐ spelling, punctu​ation, and suffix (.com, .net,
ectly. It could also be caused by a bad .org, etc.) of the domain name.
internet connection or a caching issue.

By Aki Stepinska Published 21st October, 2020. Sponsored by CrosswordCheats.com


(AkaAki157) Last updated 21st October, 2020. Learn to solve cryptic crosswords!
cheatography.com/akaaki157/ Page 1 of 2. http://crosswordcheats.com
17 Most Common HTTP Website Errors & Codes Cheat Sheet
by Aki Stepinska (AkaAki157) via cheatography.com/127651/cs/24864/

451 UNAVAI​LABLE FOR LEGAL 502 BAD GATEWAY BONUS: 418 I’M A TEAPOT
REASONS
While acting as a gateway or a proxy, the The server refused to brew coffee because
You requested a page that can’t be server received an invalid response from it is, perman​ently, a teapot, and the
displayed because it has been censored by the upstream server. The response resulting entity​-body MAY be short and
the govern​​ment. The court orders block the received is bad, overlo​​aded, or it has stout. (☉_ ☉) Error code 418 was released
site. It can mean that the page has network issues. on April’s Fool Day in 1998 as part of the
copyright issues or illegal political content. To Fix Request for Comments (RFC)7. Who said
To Fix developers don’t have a sense of humor.
It is a webserver error. You can try: 1)
<( ​ )>
You can first try accessing the page by Reloading the page; 2) Using the browser in
using the HTTPS protocol instead of HTTP. Safe Mode5; 3) Checking for server To Fix
If the website is blocked due to censor​ship, connec​tivity issues; 4) Contacting your host. Don’t brew coffee in a teapot. Try a coffee​‐
you can try accessing it through Private 5ht​tps​://​www.ex​ai.c​om​/bl​og/​502​-ba​d-g​‐ maker instead. (~˘▾˘)~
Internet Access (PIA).3 7ht​tps​://​the​his​tor​yof​the​web.co​m/i​m-a​-te​‐
ateway
3ht​tps​://​win​dow​sre​por​t.c​om/​err​or-​451​-un​‐
apot/
ava​ila​ble​-le​gal​-re​asons/ 503 SERVICE UNAVAI​LABLE
Fixes You Can Always Try
You are trying to access a web page where
500 INTERNAL SERVER ERROR
the server is down or the site is busy. The Based on fixes for most errors, there are
A web server encounters some form of an server may be undergoing mainte​nance or few things you can always try:
internal error. When the webserver is is overloaded with requests. ❄ Check the spelling of your URL;
overlo​aded, it is not able to handle requests To Fix ❄ Reload the page;
properly. ❄ Clear your cache;
You should try reloading and accessing the
To Fix ❄ Try a different browser;
web page later.
❄ Try accessing the page in a Safe Mode;
You should try to: 1) Reload the page; 2)
❄ Check your internet connec​tion;
Clear your cache; 3) Delete cookies; 4) 504 GATEWAY TIMEOUT
❄ Rollback recent upgrades to the site;
Restart or try a different browser.
There is a server to server commun​ication ❄ Check your .htaccess file in your public​‐
problem. A web server attempting to load a _html directory;
501 NOT IMPLEM​ENTED
page did not get a timely response from the ❄ Contact your host provider.
You requested a page with a feature that server where the page is hosted.
your browser does not support. The server To Fix
doesn’t have the functi​​on​ality to fulfill your
You can try: 1) Reloading the page; 2)
request. Error 501 can sometimes be
Disabling proxy settings; 3) Checking your
caused by malware.
DNS; 4) Tempor​​arily disabling CDN6; 5)
To Fix Checking with your host; 6) Rolling back
You should try to: 1) Reload the page; 2) recent upgrades to the site.
Clear your browser cache; 3) Check your 6ht​tps​://​kin​sta.co​m/b​log​/50​4-g​ate​way​-ti​‐
VPN and/or proxy 4; 4) Contact your host
meout/
provider.
4ht​tps​://​www.el​egan
​ tt​hem​es.c​om​/blo
​ g/​wor​‐
dpr​ess​/ho​w-t​o-f​ix-​the​-ht​tp-​err​or-​cod​e-501

By Aki Stepinska Published 21st October, 2020. Sponsored by CrosswordCheats.com


(AkaAki157) Last updated 21st October, 2020. Learn to solve cryptic crosswords!
cheatography.com/akaaki157/ Page 2 of 2. http://crosswordcheats.com

You might also like