Skip to main content

redirects.Redirect

Redirect(id, site, old_path, new_path)

Fields

Field Type Description
id Integer ID
new_path String (up to 200) redirect to - This can be either an absolute path (as above) or a full URL starting with a scheme such as “https://”.
old_path String (up to 200) redirect from - This should be an absolute path, excluding the domain name. Example: “/events/search/”.
site Site

the related sites.Site object

‹ Back to Model documentation