test_redirect
Report the status and Location the public proxy would send for a path or a full public URL. The scheme and host are dropped, then a leading website id or locale segment is stripped the same way as the public URL. 404 when the path ends in a static asset extension. 301 or 302 for a stored redirect, with redirectId. 308 for a locale-path alias. 404 reason not_found when no page matches, including a dynamic route whose entry does not exist. A period in a slug still matches a dynamic route. Otherwise the path reaches the page.
test_redirect · Grup: design
Report the status and Location the public proxy would send for a path or a full public URL. The scheme and host are dropped, then a leading website id or locale segment is stripped the same way as the public URL. 404 when the path ends in a static asset extension. 301 or 302 for a stored redirect, with redirectId. 308 for a locale-path alias. 404 reason not_found when no page matches, including a dynamic route whose entry does not exist. A period in a slug still matches a dynamic route. Otherwise the path reaches the page.
Girdiler
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
from | required | |
localeCode | optional |
Eşlendiği uçlar
POST /api/v1/{locale}/{websiteId}/redirects/test→ API