Bỏ qua để đến nội dung
SEO Plugin-free SEO for WordPress — titles, social cards, schema, sitemaps and robots.txt — emitted by the agent's mu-plugin. Redirects and the 404 monitor live in the Link Manager.

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.

  1. Open SEO from the site rail. You land on the Titles & Meta tab.
  2. 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.
  3. Set the Default robots flags (Index / Follow / No archive / No image index) per type, and choose a title Separator.
  4. On Social, pick a Default social image (1200 × 630, the OG/Twitter fallback) and the X (Twitter) card type.
  5. 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).
  6. 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).
  7. 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.)
  • 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.seo paths below.

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:

ActionMethod + pathWhat the agent does
Health chipsGET overviewcounts indexable / missing-desc / noindexed
Load / save settingsGET/PUT settingsreads/writes the mzp_seo_settings option
Robots editorGET/PUT robotsreads/writes the managed robots.txt
SitemapGET sitemap/status, POST sitemap/rebuildserves + rebuilds the cached XML
RedirectsGET/POST redirects, PUT/DELETE redirects/<id>CRUD on rules
Bulk redirectsPOST redirects/bulkset-code / enable / disable / delete
404 monitorGET log404, POST log404/<id>/ignore, DELETE log404/<id>list + triage
ImportPOST importdry-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.

Every action maps to the same mz command the dashboard drives — a wp … seo proxy call:

Terminal window
mz wp <domain> seo GET overview --json # health chips
mz wp <domain> seo GET settings --json # the full SEO settings option
mz wp <domain> seo GET redirects --json # every redirect rule
mz wp <domain> seo GET log404 --json # the 404 monitor
mz wp <domain> seo POST sitemap/rebuild --json # rebuild the XML sitemap

Writes take a JSON body, e.g. create a redirect:

Terminal window
mz wp <domain> seo POST redirects \
--data '{"source":"/old-page","target":"/new-page","match":"exact","code":301,"status":"active"}' --json

Pass --json for machine output. See The mz CLI and the command catalog.

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.

  • 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.txt toggle 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.