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.

Type
Effectue des modifications
Crédits
1
Plateforme
AI Server
Validation
Aperçu d'abord, appliqué après validation

Ce qu'il fait

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.

La description est en anglais car c'est le texte officiel que voit votre IA.

MCP: site_redirects

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Comme cet outil modifie votre compte, votre assistant affiche d'abord un aperçu exact du changement. Rien n'est appliqué sans votre accord et chaque modification est inscrite au journal d'audit.

Paramètres

NomTypeObligatoirePar défaut
rulesstringFacultatif·Ordered rule definitions accepted by this operation. Preserve the documented condition and action structure for each rule.
modestringFacultatiflistlist · add · remove · replace · Behaviour mode for this operation. Use one of the supported modes documented by the tool.
serverstringFacultatif·Name of the connected hosting server to target when more than one server is available.
confirmbooleanFacultatiffalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.
sitestringFacultatif·Identifier, key, or domain of the hosted site to target when more than one site is available.
canonicalstringFacultatif·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.