Wp redirection export (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
$ wp help redirection export

NAME

  wp redirection export

DESCRIPTION

  Export redirections to a CSV, JSON, .htaccess, or rewrite.rules file

SYNOPSIS

  wp redirection export <module> <filename> [--format=<exportformat>]

OPTIONS

  <module>
    The module to export - wordpress, apache, nginx, or all

  <filename>
    The file to export to, or - for stdout

  [--format=<exportformat>]
    The export format. One of json, csv, apache, or nginx. Defaults to json

EXAMPLES

    wp redirection export wordpress --format=apache

See also