Urgent.News

What's breaking now, across thousands of outlets.

Tech

HTTP Status Code Basics: What 200/301/403/500 Actually Mean for Maintenance Tools

WordPress site maintenance constantly involves one basic question: after an update, is the site still working? Instead of relying on a human eyeballing a page and deciding "looks fine," most tooling answers that question mechanically, using the three-digit HTTP status code a web server returns for every request. That single number carries more information than it looks like at first glance. Note:…

HTTP status codes are three-digit numbers that web servers attach to responses for clients like browsers or programs. The leading digit sets the category, with 1xx being informational, 2xx indicating success, 3xx for redirection, 4xx for client errors, and 5xx for server errors. Most maintenance tools focus on the two-digit codes: 2xx for successful operations and 5xx for server issues that require investigation.

In practical terms during WordPress site maintenance, the most common codes are:

- 200 OK: The request succeeded and normal content was returned, signifying everything is fine.

- 301 Moved Permanently: The requested URL has permanently moved to a new location, triggering browsers to follow the new URL automatically. In WordPress, this occurs during URL structure changes or HTTPS unification.

- 403 Forbidden: The server understands the request but intentionally denies access, often seen when accessing protected sites via IP restrictions or Basic Auth.

- 404 Not Found: The requested page does not exist, typically due to changes in post or page URLs.

- 500 Internal Server Error: The server encountered an unexpected failure while processing the request. This is frequently observed in WordPress maintenance when PHP Fatal Errors occur.

These codes follow a published internet standard (RFC), ensuring consistent meaning across different server software and programming languages. Besides the standard range (0-599), a special value of 0 is used in monitoring code to indicate no response at all, differentiating it from other errors like DNS resolution failures or connection timeouts.

For instance, when updating WordPress core and plugins individually, a maintenance tool checks the HTTP status after each update. If the status is 500 or 0 (no response), it triggers a rollback since these indicate a server-level failure or no response, respectively. For 4xx errors (client errors), rollback only occurs if the previous status was below 400, preventing false rollbacks on sites with deliberate authentication restrictions.

This systematic approach allows maintenance tools to reliably determine whether updates have broken anything across multiple sites in a consistent manner, leveraging the shared vocabulary of HTTP status codes.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

CPU Looks Fine but the VDS Is Slow: A Linux Incident Runbook

A user reports that an application is slow or intermittently unreachable. The monitoring dashboard shows 20% CPU, memory still available, and no obvious outage.

  • User reports intermittent application slowness or unreachability
  • Analyze CPU usage per vCPU, not just percentage
  • Check memory pressure, not just available memory

How Do Verified Sending Domains, Webhooks, and Logs Work in an Email API?

These three pieces are what let you run email through an API instead of your own mail server: domain verification proves you're allowed to send as your domain, webhooks push you real-time events…

  • Verified Sending Domains authenticate emails via SPF, DKIM, and DMARC.
  • Webhooks deliver real-time notifications for email events like delivery and opens.
  • Logs provide a searchable record of each email's journey with metadata.

More from Thursday 17 September →