← ClaudeAtlas

wp-deploylisted

Move a finished WordPress site from Local WP to the client's shared hosting over SSH + WP-CLI: what the site owner does in the panel (DB, PHP version, SSH key, a permission rule), exporting the Local DB, packing without local files, wp-config from server-side credentials, importing, search-replace (also the CF7 sender @site.local), the mail plugin off Mailpit, permalinks, noindex until the client launches, live QA with a normal browser user agent, cleanup and the open items for the site owner. Checked on a real site (ukraine.com.ua, 2026-10-23). Use when a WordPress site goes live or moves to another host.
roama-studio/skills · ★ 0 · DevOps & Infrastructure · score 72
Install: claude install-skill roama-studio/skills
# WordPress deploy: Local -> shared hosting (SSH + WP-CLI) First real run: 2026-10-23, shared hosting ukraine.com.ua. Builds on `wp-local-install` (WP-CLI from an agent's shell) and `wp-classic-theme` (the theme). Edits to a client's EXISTING WordPress site happen on a Playground copy first: `wp-edits`. ## 0. What only the site owner can do (ask once, all together) - **SSH key.** We make an ed25519 key (`~/.ssh/<site>_<host>`, never in git); the owner adds the `.pub` in the panel (or appends it to `~/.ssh/authorized_keys` from the panel's terminal). The private key never leaves this machine. - **Database.** On shared hosting (ukraine.com.ua and most others) a MySQL DB + user exist **only via the panel**. A DB password is a credential: the agent never types it into a form. The owner creates the DB and stores its data on the server with a prompt that never echoes the password: ``` read -p "DB_NAME: " N; read -p "DB_USER: " U; read -p "DB_HOST: " H; read -s -p "DB_PASS: " P; echo; printf "DB_NAME='%s'\nDB_USER='%s'\nDB_HOST='%s'\nDB_PASS='%s'\n" "$N" "$U" "$H" "$P" > ~/.<site>-db && chmod 600 ~/.<site>-db && unset P && echo DB-OK ``` (Alternative: the panel's one-click WordPress install creates the DB; we then reuse its `wp-config.php` and overwrite the files.) - **PHP version** of the site in the panel (match the plugins: CF7 6.2 needs 8.3). - **Permission rule.** Auto mode blocks "production deploy" commands; never work around it. The owner adds, via `