Skip to main content
Glama

create_redirect

Create URL redirects in LightCMS to manage broken links and content reorganization. Set up 301 permanent or 302 temporary redirects from old URLs to new destinations.

Instructions

Create a new URL redirect. Use 301 for permanent redirects, 302 for temporary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNoOptional description/note
from_pathYesSource path (e.g., /old-page),required
status_codeNo301 (permanent) or 302 (temporary), defaults to 301
to_pathYesDestination path or URL (e.g., /new-page),required

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonradoff/lightcms'

If you have feedback or need assistance with the MCP directory API, please join our Discord server