List redirects

The redirect:list command allows you to list all redirects configured for a site.

ploi redirect:list

List redirects for a specific site:

ploi redirect:list --server=blue-ocean --site=example.com

Options

OptionDescription
--server=The server name or ID
--site=The site domain

Output

The command displays a table with the following columns:

  • ID
  • Status
  • From (source URL)
  • To (destination URL)
  • Type (301 permanent or 302 temporary)