Description
This function removes a redirect from an account's .htaccess
file.
Warning:
- UAPI (recommended) —
Mime::delete_redirect
— This function removes a redirect from a domain. - cPanel API 2 — None.
Examples
Parameters
Parameter |
Type |
Description |
Possible Values |
Example |
src |
string |
Required The page from which to remove the redirector, without the domain. |
A valid file path. |
directory/redirect-me |
domain |
string |
Required The redirector's domain. |
Any valid file extension. |
example.com |
docroot |
string |
Required The document root that contains the .htaccess file to change. |
A valid file path. |
/home/user/public_html/example.com |
Returns
This function does not return output.