It can happen that your website suddenly becomes unavailable, with a three-digit error code on your screen. What now? We discuss the six most common HTTP error codes, what they mean, and how to fix them.
401 Error - Unauthorized
A 401 error means that you cannot access a certain page without logging in first. You often see this in a customer portal, employee environment, or admin area. Usually it is a temporary problem, but sometimes you need to intervene.
Causes and solutions:
- Invalid login details: Please check that your username and password are correct, and check for typos.
- Missing Authorization: Make sure you have sufficient rights to access.
- Session Expired: Log in again if your session has expired or the access token no longer works.
- Firewall or IP restrictions: Sometimes access is blocked based on IP address. Check your settings and try logging in from a different network or device.
Quick tip: Check your login details, try a different device, or connect via VPN if required.
403 Error - Forbidden
Are you getting a 403 error? Then you do not have the right permissions for the page. You may need to be logged in or the page may not be accessible.
Solutions:
- Blocking .htaccess rule: Temporarily rename the .htaccess file to see if a rule is blocking access.
- Incorrect folder: Check that your website is in the correct folder, such as public_html.
- Incorrect index filename: Make sure the index filename is exactly correct (e.g. index.html, index.php), and pay attention to capitalization.
404 Error - Page Not Found
The well-known 404 error indicates that the requested page or path no longer exists. This can be caused by broken links or missing files.
Solutions:
- Recover Deleted Page: Restore accidentally deleted pages.
- Use a 301 redirect: Redirect old URLs to the correct new location.
- Check Link Structure and URLs: Check that links are correct and free of typos.
- Check file name and path: Verify that the file name and location are correct.
- Reset WordPress Permalink: In WordPress, go to Settings > Permalinks and click Save Changes.
Want to learn more about the impact of 404 errors on your SEO? Check out our article
here .
500 Error - Internal Server Error
A 500 error indicates an internal server error, meaning something fundamental is going wrong, such as a code error or database problems.
Solutions:
- Reload the page: Sometimes the problem is temporary and goes away after a reload.
- Clear your cache: Clear your browser cache to see if the error goes away.
- Check the .htaccess file: An error in it can cause a 500 error.
- PHP Error Message: Check if the error is caused by a PHP error.
- Check hosting limit: Consider a larger hosting package if your current package is too small.
Are you considering expanding your hosting package? Feel free to contact our sales department, they will be happy to help you!
502 Error - Bad Gateway
A 502 error means that there is a problem between the server and a remote connection, often due to stuck PHP processes.
Solutions:
- Control cURL requests: Limit the number of external connections.
- Use APM tools: Tools like New Relic can help pinpoint issues.
- Reduce the cURL timeout: For example, reduce it from 30 to 5 seconds.
- Pause external connections: Create a workaround to temporarily pause them.
Want to learn more about 502 errors? Check out our article
here .
503 Error - Service Unavailable
The 503 error indicates a (temporary) unavailability of the server, often due to maintenance or overload.
Solutions:
- Check Status Page: Check if any maintenance or outages have been reported on our status page.
- Problems caused by plugins: Temporarily disable problematic plugins and see if that helps.
Other errors
If the error you are looking for is not listed or you are unable to solve the problem, please contact our customer service, we are happy to help you!
Related Articles
My sent email is rejected
Unfortunately, it can happen that emails do not reach the recipient. There are several possible causes, and here you will find the most common problems and solutions! If you are still experiencing problems after reading this manual, you can, for ...
Fix for 502 Bad Gateway when loading your website
Visiting your website and see that it keeps loading? After a long wait, the annoying message appears: 502 Bad Gateway. What exactly does this mean, and what can you do to prevent this? What causes a 502 Bad Gateway? When your website throws a 502 ...
Installing GIT Client in Plesk
More and more LinQhost customers are using GIT for version control of their websites. Although the GIT client is not available in a Plesk environment by default, you can add it to the chroot environment of Plesk yourself. This allows you to easily ...
Canonical URLs and How to Use Them
Canonical URLs are an important concept in search engine optimization (SEO). They are used to indicate to search engines which version of a web page is the "preferred" version. This is essential when multiple URLs show the same (or very similar) ...
Transferring a domain: requesting a domain token or EPP code
Are you planning to transfer your domain? Then you need a domain token or EPP code to make the transfer go smoothly. In this blog we explain how you can easily request this code, so that your transfer goes smoothly. Why do you need a token or EPP ...