# Domain Redirection Domain Management / Domain Redirection ## Add redirect to domain - [GET /Mime/add_redirect](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-redirection/add_redirect.md): This function adds a redirect to a domain. When you disable the role, the system this function. ## Remove redirect from domain - [GET /Mime/delete_redirect](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-redirection/delete_redirect.md): This function removes a redirect from a domain. When you disable the Web Server role, the system this function. ## Return redirect URL for domain - [GET /Mime/get_redirect](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-redirection/get_redirect.md): This function retrieves a redirection URL for a domain. ## Return .htaccess files' redirects - [GET /Mime/list_redirects](https://api.docs.cpanel.net/specifications/cpanel.openapi/domain-redirection/list_redirects.md): This function lists the redirects in an account's .htaccess files. When you disable the Web Server role, the system this function.