Docs / Core SEO / Redirects & 404

Redirects & 404 Monitoring

Manage URL redirects, monitor 404 errors, smart redirect suggestions, and automatic hit tracking to maintain SEO equity.

Redirect Manager

The redirect module () allows you to create URL redirects that execute at the template_redirect hook β€” before WordPress renders any template.

πŸ–ΌοΈ
Redirect Manager Page
Screenshot: Redirect list with add form β€” 900 Γ— 500px β€” assets/images/redirects-manager.png

Creating a Redirect

Navigate to Redirects

Go to Serpelo β†’ Content & Links β†’ Redirects (slug: serpelo-redirects).

Enter Source & Target

Enter the Source URL (the old URL) and Target URL (where visitors should go). Select the redirect type.

Save

Click Add Redirect. The redirect is immediately active.

⚠️
Free Tier Limit: Free users can create up to 10 redirects. Pro and Elite users have unlimited redirects.

Redirect Types

CodeTypeWhen to Use
301PermanentContent has permanently moved. Passes ~90% of link equity. Use for most SEO redirects.
302TemporaryContent is temporarily at a different URL. Does not pass link equity permanently.
307Temp (HTTP/1.1)Like 302 but strictly preserves the HTTP method (POST stays POST).

Redirect Features

404 Monitor

The 404 Monitor () automatically logs every 404 error on your site, capturing the URL, referrer, user agent, IP address, and hit count.

πŸ–ΌοΈ
404 Monitor β€” Error Log
Screenshot: 404 log table with resolve/delete actions β€” 900 Γ— 400px β€” assets/images/404-monitor.png

404 Log Data

ColumnDescription
urlThe 404 URL that was requested
referrerWhere the visitor came from
user_agentBrowser/bot identification string
ip_addressVisitor IP (IPv4/IPv6, up to 45 chars)
hitsNumber of times this 404 was hit (auto-incremented for same URLs)
last_hitTimestamp of the most recent hit
is_resolvedWhether a redirect has been created for this URL
redirect_idFK to the redirect if resolved

Actions

πŸ’‘
Free Tier Limit: The log retains up to 50 entries for free users. Older entries are automatically purged when the limit is reached. Pro/Elite users have unlimited storage.

Smart 404 Redirect Suggestions

The Smart 404 module () uses multi-signal scoring to suggest the best redirect target for broken URLs. Pro

How It Works

When a 404 is detected, the smart matcher:

  1. Extracts slug segments from the broken URL
  2. Searches published content titles, slugs, and excerpts
  3. Scores matches using word overlap, Levenshtein distance, and content relevance
  4. Returns the top suggestion with a confidence score

Database Tables

wp_serpelo_redirects

id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY
source_url VARCHAR(500) NOT NULL
target_url VARCHAR(500) NOT NULL
redirect_type INT DEFAULT 301
hits INT DEFAULT 0
is_active TINYINT(1) DEFAULT 1
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE
INDEX idx_source (source_url(191))
INDEX idx_active (is_active)

wp_serpelo_404_log

id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY
url VARCHAR(500) NOT NULL
referrer VARCHAR(500) DEFAULT ''
user_agent VARCHAR(500) DEFAULT ''
ip_address VARCHAR(45) DEFAULT ''
hits INT DEFAULT 1
last_hit DATETIME DEFAULT CURRENT_TIMESTAMP
is_resolved TINYINT(1) DEFAULT 0
redirect_id BIGINT UNSIGNED DEFAULT NULL
INDEX idx_url (url(191))
INDEX idx_hits (hits)
INDEX idx_resolved (is_resolved)