Skip to content

Commit 58d49e6

Browse files
authored
Update urls
1 parent 12f09cd commit 58d49e6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

quick-start.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Congratulations! You've [installed WP-CLI](https://make.wordpress.org/cli/handbo
66

77
WP-CLI is a command line interface for WordPress. The project's goal is to offer a complete alternative to the WordPress admin; for any action you might want to perform in the WordPress admin, there should be an equivalent WP-CLI command.
88

9-
For instance, because you can install a plugin from the WordPress admin, you can also [install a plugin](https://wp-cli.org/commands/plugin/install/) with WP-CLI:
9+
For instance, because you can install a plugin from the WordPress admin, you can also [install a plugin](https://developer.wordpress.org/cli/commands/plugin/install/) with WP-CLI:
1010

1111
$ wp plugin install akismet
1212
Installing Akismet (3.1.8)
@@ -15,7 +15,7 @@ For instance, because you can install a plugin from the WordPress admin, you can
1515
Installing the plugin...
1616
Plugin installed successfully.
1717

18-
And, because you can also activate plugins from the WordPress admin, you can [activate a plugin](https://wp-cli.org/commands/plugin/activate/) with WP-CLI:
18+
And, because you can also activate plugins from the WordPress admin, you can [activate a plugin](https://developer.wordpress.org/cli/commands/plugin/activate/) with WP-CLI:
1919

2020
$ wp plugin activate akismet
2121
Success: Plugin 'akismet' activated.
@@ -26,7 +26,7 @@ One key difference between using the WordPress admin and WP-CLI: performing any
2626

2727
Throughout your usage of WP-CLI, you'll hear certain terms used over and over again.
2828

29-
For instance, a _command_ is an atomic unit of WP-CLI functionality. `wp plugin install` is one such command, as is `wp plugin activate`. Commands represent a name (e.g. 'plugin install') and a callback, and are registered with `WP_CLI::add_command()` ([doc](/docs/internal-api/wp-cli-add-command/)).
29+
For instance, a _command_ is an atomic unit of WP-CLI functionality. `wp plugin install` is one such command, as is `wp plugin activate`. Commands represent a name (e.g. 'plugin install') and a callback, and are registered with `WP_CLI::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/wp-cli-add-command/)).
3030

3131
The _synopsis_ defines which _positional_ and _associative_ arguments a command accepts. Let's take a look at the synopsis for `wp plugin install`:
3232

@@ -35,15 +35,15 @@ The _synopsis_ defines which _positional_ and _associative_ arguments a command
3535

3636
In this example, `<plugin|zip|url>...` is the accepted _positional_ argument. In fact, `wp plugin install` accepts the same positional argument (the slug, ZIP, or URL of a plugin to install) multiple times. `[--version=<version>]` is one of the accepted _associative_ arguments. It's used to denote the version of the plugin to install. Notice, too, the square brackets around the argument definition; square brackets mean the argument is optional.
3737

38-
WP-CLI also has a [series of _global_ arguments](/config/) which work with all commands. For instance, including `--debug` means your command execution will display all PHP errors, and add extra verbosity to the WP-CLI bootstrap process.
38+
WP-CLI also has a [series of _global_ arguments](https://make.wordpress.org/cli/handbook/config/) which work with all commands. For instance, including `--debug` means your command execution will display all PHP errors, and add extra verbosity to the WP-CLI bootstrap process.
3939

4040
## Practical Examples
4141

4242
Ready to dive in? Here are some common examples of how WP-CLI is used:
4343

4444
**Download and install WordPress in seconds**
4545

46-
1. Download the latest version of WordPress with `wp core download` ([doc](https://wp-cli.org/commands/core/download/)).
46+
1. Download the latest version of WordPress with `wp core download` ([doc](https://developer.wordpress.org/cli/commands/core/download/)).
4747

4848
```
4949
$ wp core download --path=wpclidemo.dev
@@ -53,22 +53,22 @@ Using cached file '/home/vagrant/.wp-cli/cache/core/wordpress-4.6.1-en_US.tar.gz
5353
Success: WordPress downloaded.
5454
```
5555

56-
2. Create a new wp-config.php file with `wp config create` ([doc](https://wp-cli.org/commands/config/create/)).
56+
2. Create a new wp-config.php file with `wp config create` ([doc](https://developer.wordpress.org/cli/commands/config/create/)).
5757

5858
```
5959
$ cd wpclidemo.dev
6060
$ wp config create --dbname=wpclidemo --dbuser=root
6161
Success: Generated 'wp-config.php' file.
6262
```
6363

64-
3. Create the database based on wp-config.php with `wp db create` ([doc](https://wp-cli.org/commands/db/create/)).
64+
3. Create the database based on wp-config.php with `wp db create` ([doc](https://developer.wordpress.org/cli/commands/db/create/)).
6565

6666
```
6767
$ wp db create
6868
Success: Database created.
6969
```
7070

71-
4. Install WordPress with `wp core install` ([doc](https://wp-cli.org/commands/core/install/)).
71+
4. Install WordPress with `wp core install` ([doc](https://developer.wordpress.org/cli/commands/core/install/)).
7272

7373
```
7474
$ wp core install --url=wpclidemo.dev --title="WP-CLI" --admin_user=wpcli --admin_password=wpcli --admin_email=info@wp-cli.org
@@ -79,7 +79,7 @@ That's it!
7979

8080
**Update plugins to their latest version**
8181

82-
Use `wp plugin update --all` ([doc](https://wp-cli.org/commands/plugin/update/)) to update all plugins to their latest version.
82+
Use `wp plugin update --all` ([doc](https://developer.wordpress.org/cli/commands/plugin/update/)) to update all plugins to their latest version.
8383

8484
```
8585
$ wp plugin update --all
@@ -106,7 +106,7 @@ Success: Updated 2/2 plugins.
106106

107107
**Add a user as a super-admin**
108108

109-
On multisite, use `wp super-admin add` ([doc](https://wp-cli.org/commands/super-admin/add/)) to grant super admin capabilities to an existing user.
109+
On multisite, use `wp super-admin add` ([doc](https://developer.wordpress.org/cli/commands/super-admin/add/)) to grant super admin capabilities to an existing user.
110110

111111
```
112112
$ wp super-admin add wpcli
@@ -115,7 +115,7 @@ Success: Granted super-admin capabilities.
115115

116116
**Regenerate thumbnails**
117117

118-
If you've added or changed an image size registered with `add_image_size()`, you may want to use `wp media regenerate` ([doc](https://wp-cli.org/commands/media/regenerate/)) so your theme displays the correct image size.
118+
If you've added or changed an image size registered with `add_image_size()`, you may want to use `wp media regenerate` ([doc](https://developer.wordpress.org/cli/commands/media/regenerate/)) so your theme displays the correct image size.
119119

120120
```
121121
wp media regenerate --yes

0 commit comments

Comments
 (0)