Skip to main content
When you run a connection test in MainWP, the result includes an HTTP status code that indicates whether the request succeeded or failed. This reference helps you interpret those codes and understand what action to take.

What You’ll Learn

  • Interpret HTTP status codes from connection tests
  • Identify which codes indicate success vs. failure
  • Understand common causes for specific error codes
  • Determine next steps based on the status code

Prerequisites

  • MainWP Dashboard installed and activated
  • A child site you’re testing connection to

How to Run a Connection Test

Go to MainWP > Sites > Manage Sites, find the site, and click Test Connection from the site’s action menu. The result displays the HTTP status code returned by the child site server.

2xx – Success Codes

These codes indicate the request was received and processed successfully. 200 OK is the expected result for a successful connection test.

3xx – Redirection Codes

These codes indicate the request was redirected to another location. Common cause: The child site URL has changed (HTTP to HTTPS, www to non-www, or domain change). Update the site URL in MainWP to match the current address.

4xx – Client Error Codes

These codes indicate the request failed due to a client-side issue.

Common 4xx Codes in MainWP


5xx – Server Error Codes

These codes indicate the request failed due to a server-side issue on the child site.

Common 5xx Codes in MainWP


Self-Check Checklist

  • Ran connection test and noted the status code
  • Identified whether the code indicates success (2xx) or error (4xx/5xx)
  • Reviewed common causes for the specific code
  • Took appropriate action based on the code meaning