{"id":224,"date":"2020-02-12T10:37:04","date_gmt":"2020-02-12T10:37:04","guid":{"rendered":"https:\/\/www.lcn.com\/support\/knowledge-base\/understanding-http-error-codes-and-other-website-errors\/"},"modified":"2020-08-28T11:35:57","modified_gmt":"2020-08-28T11:35:57","slug":"understanding-http-error-codes-and-other-website-errors","status":"publish","type":"ht_kb","link":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/","title":{"rendered":"Understanding HTTP Error Codes and other website errors"},"content":{"rendered":"\n<p>When attempting to access a website or other online resource you might be presented with an error page in place of the expected response. This will likely be one of a few HTTP error codes you may encounter.<\/p>\n\n\n\n<p>This guide will cover some of the more common website HTTP error codes and provide an explanation of the possible causes and any steps that you can take to resolve the error.<\/p>\n\n\n\n<p>Let\u2019s get started\u2026<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#404\">404 Not Found Error<\/a><\/li><li><a href=\"#403\">403 Forbidden Error<\/a><\/li><li><a href=\"#500\">500 Internal Server Error<\/a><\/li><li><a #503\"=\"\">503 Service Unavailable<\/a><\/li><li><a #other\"=\"\">Other Website Errors<\/a><\/li><\/ul>\n\n\n\n<a name=\"404\"><\/a>\n\n\n\n<h3 class=\"wp-block-heading\">404 Not Found Error<\/h3>\n\n\n\n<p>This is one of the more common HTTP error codes. It simply means that the requested page is not found.<\/p>\n\n\n\n<p>It could occur when you\u2019ve typed a URL incorrectly when the location of a page has changed. Or when the page or content that you\u2019re trying to access no longer exists on the server.<\/p>\n\n\n\n<p>For WordPress based sites, this error can also occur as a result of problems with permalink settings for the site. Try re-saving the permalink settings in the settings&gt;permalinks section of the WordPress dashboard if you start to encounter 404 errors when accessing sub-pages of the site.<\/p>\n\n\n\n<a name=\"403\"><\/a>\n\n\n\n<h3 class=\"wp-block-heading\">403 Forbidden Error<\/h3>\n\n\n\n<p>The 403 Forbidden error indicates that your access to the requested page is restricted. This error can be returned for a number of different reasons, we\u2019ll cover some of these below.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Directory has no index page<\/h4>\n\n\n\n<p>If you create a folder within the webspace for your domain that has no index page then a 403 forbidden error would be returned. If you try to access the URL for the folder without including the filename of a specific file within the directory.<\/p>\n\n\n\n<p>It\u2019s possible to customise the default index filename for a folder or to enable listing of directory contents for folders without an index file; this requires uploading a .htaccess file to the folder to customise the default behaviour.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Access restricted in .htaccess<\/h4>\n\n\n\n<p>If your public IP address has been blocked in the .htaccess file for a site, or access to the folder has been specifically denied in .htaccess it would return this error.<\/p>\n\n\n\n<p>If password protection has been applied to a folder and login has been rejected, or if password protection is incorrectly configured to secure a folder it could also result in this error.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">File or folder permissions<\/h4>\n\n\n\n<p>If read access to a file or folder is blocked by the permissions of the file or folder it could result in this error being returned. You can read about how to check and update file permissions for files or folders in your site&nbsp;<a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-change-file-permissions-via-ftp\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<a name=\"500\"><\/a>\n\n\n\n<h3 class=\"wp-block-heading\">500 Internal Server Error<\/h3>\n\n\n\n<p>This error is a generic error returned by the webserver when more specific details on the cause for failure to load a webpage can\u2019t be provided.<\/p>\n\n\n\n<p>You can find details on how to troubleshoot 500 errors&nbsp;<a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-troubleshoot-500-errors\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<a name=\"503\"><\/a>\n\n\n\n<h3 class=\"wp-block-heading\">503 Service Unavailable<\/h3>\n\n\n\n<p>This error will usually indicate a temporary issue. Usually due to the web-server being unable to return the requested content for some reason. Try refreshing the page after a minute in case the error is only temporary.<\/p>\n\n\n\n<p>You can check our system status page\u00a0<a href=\"https:\/\/lcn.statuspage.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>\u00a0to see if we\u2019re aware of any server issues that could cause this type of error.<\/p>\n\n\n\n<a name=\"other\"><\/a>\n\n\n\n<h3 class=\"wp-block-heading\">Other Website Errors<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Error establishing a database connection<\/h4>\n\n\n\n<p>This error will be returned when a site attempts to connect to a database using incorrect credentials: username, password, database-name or hostname.<\/p>\n\n\n\n<p>The error will also be returned if the database server for the site is unavailable or down.<\/p>\n\n\n\n<p>If you change the password for a database in your account this error would occur until any config files within the site that store the database password are updated.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">PHP Errors and Warnings<\/h4>\n\n\n\n<p>PHP warnings and errors can occur for a variety of reasons, some possible causes, for example, are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Missing files or folders within your site.<\/li><li>Changes to the PHP version on the server for the site.<\/li><li>Changes to file or folder paths when moving sites between servers.<\/li><li>Attempts to use deprecated or removed functions with the PHP version in use for a site.<\/li><\/ul>\n\n\n\n<p>PHP warnings will usually be displayed in a format similar to the example below:<\/p>\n\n\n\n<p><strong>Warning:<\/strong>&nbsp;Description of error cause () in&nbsp;<strong>\/www\/abc\/123\/www.yourdomain.com\/web\/filename.php<\/strong>&nbsp;on line&nbsp;<strong>123<\/strong><\/p>\n\n\n\n<p>If you\u2019ve changed the PHP version in use for your site, or you\u2019re moving a site from a server running a different version of PHP you might encounter these types of warnings. These errors are due to compatibility issues between the version of PHP on the web server. The version required by the scripts in use for your site. You can read about how to change the PHP version for your site&nbsp;<a href=\"https:\/\/www.lcn.com\/support\/articles\/how-to-change-php-version\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>You can disable displaying PHP warnings within your site by uploading a .user.ini file. We don\u2019t log PHP or application-level errors by default, so it can be useful to enable PHP error logging if you\u2019re trying to troubleshoot any PHP errors occurring with your site.<\/p>\n\n\n\n<p>For more information on how to enable error logging and troubleshoot PHP errors see our guide&nbsp;<a href=\"https:\/\/www.lcn.com\/support\/articles\/troubleshooting-common-php-issues\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>That\u2019s it! You now have a better understanding of HTTP errors and what they mean.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When attempting to access a website or other online resource you might be presented with an error page in place of the expected response. This will likely be one of a few HTTP error codes you may encounter. This guide will cover some of the more common website HTTP error codes and provide an explanation [&hellip;]<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[4],"ht-kb-tag":[5],"class_list":["post-224","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-managing-web-hosting","ht_kb_tag-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Understanding HTTP Error Codes and other website errors - LCN.com<\/title>\n<meta name=\"description\" content=\"A guide to help understand common HTTP error codes you may see and what they mean when you see them on your website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding HTTP Error Codes and other website errors - LCN.com\" \/>\n<meta property=\"og:description\" content=\"A guide to help understand common HTTP error codes you may see and what they mean when you see them on your website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/\" \/>\n<meta property=\"og:site_name\" content=\"Customer Support Guides - LCN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lcndotcom\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-28T11:35:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@lcndotcom\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/\",\"url\":\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/\",\"name\":\"Understanding HTTP Error Codes and other website errors - LCN.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#website\"},\"datePublished\":\"2020-02-12T10:37:04+00:00\",\"dateModified\":\"2020-08-28T11:35:57+00:00\",\"description\":\"A guide to help understand common HTTP error codes you may see and what they mean when you see them on your website.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.lcn.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding HTTP Error Codes and other website errors\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lcn.com\/support\/#website\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"name\":\"Customer Support Guides - LCN\",\"description\":\"- LCN\",\"publisher\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lcn.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\",\"name\":\"LCN.com\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"contentUrl\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"width\":461,\"height\":461,\"caption\":\"LCN.com\"},\"image\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/lcndotcom\",\"https:\/\/x.com\/lcndotcom\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding HTTP Error Codes and other website errors - LCN.com","description":"A guide to help understand common HTTP error codes you may see and what they mean when you see them on your website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/","og_locale":"en_US","og_type":"article","og_title":"Understanding HTTP Error Codes and other website errors - LCN.com","og_description":"A guide to help understand common HTTP error codes you may see and what they mean when you see them on your website.","og_url":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/","og_site_name":"Customer Support Guides - LCN","article_publisher":"https:\/\/www.facebook.com\/lcndotcom","article_modified_time":"2020-08-28T11:35:57+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/support-facebook-feed.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@lcndotcom","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/","url":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/","name":"Understanding HTTP Error Codes and other website errors - LCN.com","isPartOf":{"@id":"https:\/\/www.lcn.com\/support\/#website"},"datePublished":"2020-02-12T10:37:04+00:00","dateModified":"2020-08-28T11:35:57+00:00","description":"A guide to help understand common HTTP error codes you may see and what they mean when you see them on your website.","breadcrumb":{"@id":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lcn.com\/support\/articles\/understanding-http-error-codes-and-other-website-errors\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lcn.com\/support\/"},{"@type":"ListItem","position":2,"name":"Understanding HTTP Error Codes and other website errors"}]},{"@type":"WebSite","@id":"https:\/\/www.lcn.com\/support\/#website","url":"https:\/\/www.lcn.com\/support\/","name":"Customer Support Guides - LCN","description":"- LCN","publisher":{"@id":"https:\/\/www.lcn.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lcn.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.lcn.com\/support\/#organization","name":"LCN.com","url":"https:\/\/www.lcn.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","contentUrl":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","width":461,"height":461,"caption":"LCN.com"},"image":{"@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lcndotcom","https:\/\/x.com\/lcndotcom"]}]}},"_links":{"self":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":3,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/224\/revisions"}],"predecessor-version":[{"id":1361,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/224\/revisions\/1361"}],"wp:attachment":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=224"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}