SEO
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
Open a WordPress site and SEO (/sites/:srv/:dom/seo) gives you titles, meta,
social cards, schema, sitemaps and robots.txt without installing a plugin. Redirects
(301/302/307/410) and the 404 monitor moved into the Link Manager on
2026-11-25 (links/redirects, links/404); the old /seo-redirects URL redirects there.
Everything is emitted and enforced by the mzpanel-agent mu-plugin, so there’s no
Yoast or Rank Math to install, update or slow the site down.
Available on all plans wherever the site’s server has a current agent.
Set up SEO, step by step
Section titled “Set up SEO, step by step”- Open SEO from the site rail. You land on the Titles & Meta tab.
- Pick a content type (Posts, Pages, Categories, Homepage…) and edit the
SEO title template and Meta description template. Insert variables like
%title%,%sitename%or%excerpt%from the chips — the Search appearance panel on the right previews the live Google snippet with title/description length meters (30-60 for titles, 120-160 for descriptions), and you can flip between Desktop and Mobile. - Set the Default robots flags (Index / Follow / No archive / No image index) per type, and choose a title Separator.
- On Social, pick a Default social image (1200 × 630, the OG/Twitter fallback) and the X (Twitter) card type.
- On Schema, choose whether the site represents an Organization or a Person and set the default JSON-LD schema per content type. On Knowledge graph, fill in the org/person name, URL, logo and social profiles (sameAs).
- On Sitemap & Robots, toggle which content types and taxonomies go into the XML
sitemap, and edit robots.txt (the
%sitemap_url%token is replaced with the live sitemap URL). - When anything changes, a Save changes bar appears at the bottom — save to write the whole settings option in one go. (The robots.txt editor has its own save.)
What else you can do
Section titled “What else you can do”- Take over from an existing SEO plugin. If Rank Math, Yoast, AIOSEO or SEOPress is active, MZPanel stands down and shows a banner. Click Import its data for a dry-run preview (scanned / mapped counts + a sample), then Import & apply, or Deactivate & take over to hand SEO to MZPanel.
- View the sitemap and Rebuild now — the agent serves a cached XML sitemap and auto-invalidates it on save.
- See the health chips at the top of the SEO page: Indexable, Missing description, Noindexed, and a combined Sitemap & robots status.
- Redirects and the 404 monitor — in Link Manager → Redirects
(exact / wildcard / regex matching; 301 / 302 / 307 / 410; bulk set-code, disable,
delete) and 404 Monitor (hits, referer, first seen; Create redirect prefills a
rule from the path, or Ignore it). They still use the
wp.seopaths below.
How it works
Section titled “How it works”SEO (and the Link Manager’s Redirects / 404 pages) drive a single job kind, wp.seo, which the API forwards to the site’s
agent. The agent calls the mu-plugin’s own REST namespace, mzpanel/v1/seo/<path>, and
returns the envelope verbatim:
| Action | Method + path | What the agent does |
|---|---|---|
| Health chips | GET overview | counts indexable / missing-desc / noindexed |
| Load / save settings | GET/PUT settings | reads/writes the mzp_seo_settings option |
| Robots editor | GET/PUT robots | reads/writes the managed robots.txt |
| Sitemap | GET sitemap/status, POST sitemap/rebuild | serves + rebuilds the cached XML |
| Redirects | GET/POST redirects, PUT/DELETE redirects/<id> | CRUD on rules |
| Bulk redirects | POST redirects/bulk | set-code / enable / disable / delete |
| 404 monitor | GET log404, POST log404/<id>/ignore, DELETE log404/<id> | list + triage |
| Import | POST import | dry-run preview or apply from Rank Math/Yoast/AIOSEO |
At request time the mu-plugin emits <title>, the meta description, og:* and
twitter:* tags, and a single linked JSON-LD @graph (WebSite → Organization/Person →
WebPage → per-type schema → BreadcrumbList) on every page. Settings live in the WordPress
mzp_seo_settings option; redirects and 404 hits live in the site’s own database. There
is no wp/v2 forward — the SEO namespace is called directly.
CLI & automation
Section titled “CLI & automation”Every action maps to the same mz command the dashboard drives — a wp … seo proxy
call:
mz wp <domain> seo GET overview --json # health chipsmz wp <domain> seo GET settings --json # the full SEO settings optionmz wp <domain> seo GET redirects --json # every redirect rulemz wp <domain> seo GET log404 --json # the 404 monitormz wp <domain> seo POST sitemap/rebuild --json # rebuild the XML sitemapWrites take a JSON body, e.g. create a redirect:
mz wp <domain> seo POST redirects \ --data '{"source":"/old-page","target":"/new-page","match":"exact","code":301,"status":"active"}' --jsonPass --json for machine output. See The mz CLI and the
command catalog.
Automate it (MCP / REST)
Section titled “Automate it (MCP / REST)”Everything here is the wp.seo job kind: jobs_create (MCP) or
POST /v1/servers/{id}/jobs with {type: "wp.seo", domain, method, path, body?}.
path must start with one of overview, settings, meta, sitemap, robots,
redirects, log404, import or indexnow (import from: rankmath, yoast, aioseo); anything else fails validation with “path
must be an allowlisted mzpanel/v1/seo route”. Examples:
{ "type": "wp.seo", "domain": "example.com", "method": "GET", "path": "overview" }{ "type": "wp.seo", "domain": "example.com", "method": "POST", "path": "redirects", "body": { "source": "/old", "target": "/new", "match": "exact", "code": 301, "status": "active" } }{ "type": "wp.seo", "domain": "example.com", "method": "POST", "path": "import", "body": { "from": "yoast", "apply": false } }Reads (GET) and writes both run at operate level. apply: false is the dry-run
preview; import never edits the source plugin.
Gotchas & troubleshooting
Section titled “Gotchas & troubleshooting”- Needs a current agent. SEO runs through the mu-plugin’s engine. On an older fleet binary the page degrades to an “update the agent” card instead of a broken view — update the agent and retry.
- Only one SEO engine at a time. If Rank Math/Yoast/AIOSEO/SEOPress is active, MZPanel deliberately stops emitting tags to avoid duplicates. Import the plugin’s data and deactivate it (or keep the plugin) — don’t run both.
- Import is one-way and non-destructive. Applying copies mapped data into MZPanel SEO; it never edits the source plugin, and it’s a dry-run preview until you click apply.
- 410 Gone has no target. Picking code 410 serves an empty body — the target field disappears because none is needed.
- A manual 404 fix is a real redirect. “Create redirect” from the 404 monitor just prefills the source path; you still choose the target and code and save.
- IndexNow and llms.txt are backend-only for now. The settings model supports an
IndexNow key and an
llms.txttoggle and the agent honors them, but the current dashboard tabs (Titles · Social · Schema · Sitemap & Robots · Knowledge graph) don’t yet surface a switch for either. - Offline servers. Reads render from the last state; saving, importing and rebuilding the sitemap need the agent online.
Related
Section titled “Related”- Site overview — the per-site health cockpit.
- WP & AI content — posts, pages and per-post SEO.
- The mz CLI — driving a site from the command line.