Cpanel::Mime::listredirects

This article documents the usage of the Cpanel::Mime::listredirects function in relation to the cPanel interface. This tag can be used inside cPanel pages.


SYNOPSIS

Cpanel::Mime::listredirects


DESCRIPTION

This function will list all of a domain's redirected URLs along with their destinations and the type of redirects.


VARIABLES

INPUT

NONE

OUTPUT

destination (string)
Location the URL is being redirected to.

type (string)
Type of redirect (temporary, permanent)

source (string)
URL being redirected.


EXAMPLES

<?cp Mime::listredirects(% % % ,source,destination,type) ?>

This example will list all redirected URLs, their destinations, and the type of redirections for a domain.


COPYRIGHT

Copyright 2007 cPanel Inc.