SETUP_SITE_URL_REDIRECT_MANAGE | SETUP Endpoint | |
/rpc/setup/?method=SETUP_SITE_URL_REDIRECT_MANAGE | ||
Object: 302. Click here for more information. | ||
Setup a 301 URL redirect. Useful for when migrating a website to mydigitalstructure hosted website - allowing you to preserve the links in Google (or alike) if they are being reformed in to pure urls or other reasons. |
PARAMETERS | TYPE | NOTES | |
Id | Numeric | ||
Remove | 1 | ||
Notes | Text (2000) | ||
Site | Numeric | Mandatory. | |
StatusText | Text | Default is "301 Moved Permanently" | |
URLNew | Text | Mandatory. Can be relative ie /newpage/. If relative, must start with '/'. If fully qualified, you need to have a matching SETUP_SITE_URL_MANAGE record | |
URLOld | Text | Mandatory. Should be fully qualified ie http://..../.... You need to have a matching SETUP_SITE_URL_MANAGE record |
RETURN | ||
notes | ADDED, UPDATED, REMOVED |