Skip to content

[Bug]: "SMTP Configuration" link in FlyWP plugin leads to a 404 error page #21

Description

@ma-04

Describe the Bug 🐞

In the FlyWP helper plugin (installed on the WordPress site), navigating to the Email tab and clicking the SMTP Configuration link redirects the user to an invalid URL (http://app.flywp.com/email).

Because the /email route does not exist on the main FlyWP dashboard application, it results in a generic 404 Not Found error page. This breaks the user journey and prevents them from easily accessing their email delivery settings.

Steps to Reproduce

  1. Log in to the WordPress admin dashboard of a site managed by FlyWP.
  2. Navigate to the FlyWP plugin settings.
  3. Click on the Email tab.
  4. Click the SMTP Configuration link (located at the top right of the Email Settings card).
  5. Observe: A new browser tab opens, directing to http://app.flywp.com/email.
  6. Observe: The FlyWP application returns a 404 Not Found page.

Expected Behavior ✅

The "SMTP Configuration" link should redirect the user to the exact SMTP settings page for their specific site within the FlyWP dashboard.
Expected URL Format: https://app.flywp.com/site/{site_id}/email (or the equivalent active route for site-level SMTP config).

Actual Behavior ❌

The link points to a hardcoded, non-existent path (/email), resulting in a 404 error.

Screenshots & Logs

  • Plugin UI: Shows the "SMTP Configuration" button linking out.
  • Resulting Page: Shows the standard FlyWP "404 Not Found" view.
561988884-c7e36a85-9fb2-4007-b79a-b8a3c0def495.mov

Environment

  • FlyWP Version: PROD
  • Component: FlyWP WordPress Helper Plugin -> Email Tab

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions