Opus Growth

Manage Website Redirects

Manages REAL 301 redirects for the hosting website — the correct way to move an old URL to a new one after a redesign or a URL change, so link equity and rankings carry over.

Tipo
Faz alterações
Créditos
1
Plataforma
AI Server
Aprovação
Prévia primeiro, aplicado após sua aprovação

O que faz

Manages REAL 301 redirects for the hosting website — the correct way to move an old URL to a new one after a redesign or a URL change, so link equity and rankings carry over. These are server-level redirects issued at the edge (HTTP 301 + Location), NOT a `<meta refresh>` or a JavaScript hop: search engines treat them as permanent moves and users never see the old page. mode='list' shows the current rules; 'add' appends; 'remove' deletes the given source paths; 'replace' overwrites the whole list. `rules` is one rule per line, source then target separated by whitespace (/old-page /new-page, or a full https:// target). Source must start with '/', target with '/' or 'http(s)://'. Matching is an exact path (query strings ignored): wildcard or query sources like `/dir/*` are rejected as invalid, not stored; both the with- and without-trailing-slash forms are handled automatically. Bulk lists are fine (thousands of rules). confirm=false previews the change, confirm=true applies it — live in seconds. For 'remove' only the source paths are read from `rules`, one per line.

CANONICAL HOST: `canonical='www'` makes the apex redirect to www instead of the other way round; `canonical='apex'` restores the default. The default sends www to the apex; for a site whose ad landing URLs, GA4/GTM and pixel history live on www, that adds a hop and a host change in its own measurement (issue #298). confirm=false previews the switch. This is a per-site setting and does not touch the redirect rules above.

A descrição está em inglês porque é o texto oficial que sua IA vê.

MCP: site_redirects

Como usar

Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.

Como esta ferramenta altera sua conta, seu assistente mostra primeiro uma prévia exata da mudança. Nada é aplicado sem o seu sim, e cada alteração aplicada vai para o registro de auditoria.

Parâmetros

NomeTipoObrigatórioPadrão
rulesstringOpcional·Ordered rule definitions accepted by this operation. Preserve the documented condition and action structure for each rule.
modestringOpcionallistlist · add · remove · replace · Behaviour mode for this operation. Use one of the supported modes documented by the tool.
serverstringOpcional·Name of the connected hosting server to target when more than one server is available.
confirmbooleanOpcionalfalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.
sitestringOpcional·Identifier, key, or domain of the hosted site to target when more than one site is available.
canonicalstringOpcional·Exact canonical value for site redirects. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation.