By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

HTTP 403 Forbidden

Reference on the HTTP 403 Error Response Code.

Edited: 2012-06-06 23:30

The HTTP 403 Forbidden error response is used when the server understood the request, but is refusing to fulfill it for some reason. This error is often encountered when entering a wrong username or password on a website.

Sometimes you may want to show a soft 403 Forbidden error, so that automated spam-bots gets confused. Soft errors will usually just send a 200 OK response instead of the real error – this is done to break certain bots and hacker tools.


  1. Creating a Custom Error Page – How to create a custom error page
  2. Custom Error Pages In htaccess – How to make your custom error page default in htaccess
  3. HTTP Response Codes – A list of HTTP Response Codes
  4. PHP Header – How to deliver status codes with PHP