You finished the redesign, the new landing page, or the WooCommerce tweak. Now the client needs to look at it, comment on it, and say yes. The fastest way to derail that moment is to send a wp-admin login. This guide walks through the realistic ways to share a WordPress staging site with a client, what each one costs you in setup and risk, and how to get a clear, recorded approval on the exact version you meant to show.
Why wp-admin is the wrong review tool for clients
An admin or editor account gives a reviewer far more than they need. They can change settings, edit content in the middle of your work, or install plugins. Even a restricted role still lands them in a dashboard that was built for site managers, not for someone who wants to say "make this headline shorter."
Feedback also scatters. Comments arrive by email, as screenshots in Slack, or as a list in a document, and nobody is sure which version they refer to. What clients actually need is a working link to the front end, a way to point at the thing they mean, and a clear way to approve.
Your options for a WordPress client preview
| Option | Good at | Watch out for |
|---|---|---|
| Staging on your own server or subdomain | Full control, persistent, mirrors production closely | Someone has to provision, secure, update and clean it up |
| Your host's staging feature | Often one click if your host offers it | Tied to that host and plan; client feedback still happens elsewhere |
| Staging/cloning plugins | Copy a site inside your existing WordPress setup | Runs on the same server as the live site; access and cleanup are on you |
| Local site + tunnel (e.g. ngrok) | Instant link to what is on your laptop | Only works while your machine and the tunnel are running |
| Netlify / Vercel previews | Excellent for static and JavaScript front ends | Not designed to host a conventional PHP + MySQL WordPress install |
| PR-based preview tools (e.g. PullPreview, VeilStream) | A preview per pull request for dev teams | Needs a Git repo and a PR workflow; client feedback and approval happen elsewhere |
| Hosted review environment (Prev) | Isolated link per review, built-in feedback and approval, expires automatically | Managed database only on paid plans; single-container setups only |
None of these is wrong. A long-running staging server makes sense when a client reviews continuously for months. A tunnel is fine for a five-minute screen share. The gap is the short, focused review round: one version, one link, a decision, and nothing left running afterwards.
What a good client review link needs
- No account for the reviewer, and no access to wp-admin.
- HTTPS, so browsers do not warn your client.
- Feedback attached to the page element it is about, not a separate email thread.
- An explicit approval tied to a specific version.
- Optional access protection for unreleased work.
- Automatic cleanup, so staging copies do not pile up.
Step by step: a WordPress review environment with Prev
Prev is a CLI that launches hosted, auto-expiring review environments for self-contained web apps and Docker images. Clients open the shared HTTPS link, leave feedback pinned to page elements, and approve the version, without creating an account. WordPress can go up in one of two ways: directly from its codebase as a PHP project, or as a Docker image you already maintain.
1. Install the CLI and set your API key. The install script, Homebrew, npm and Scoop are all documented.
curl -fsSL https://prev.sh/install.sh | sh
export PREV_API_KEY="your-api-key-here"
2. Package the site. No Git needed: Prev uploads the folder you run the command in, whether it’s a repository, a local install, or a copy you pulled from the client’s host. Route A, no Docker needed: deploy the WordPress codebase directly. Prev treats a project with an index.php as a PHP project and serves it on an Apache/PHP runtime on port 80, with the MySQL extensions WordPress relies on. Include the theme, plugins and the uploads the review needs. Hidden files are not uploaded, including .htaccess, and vendor is not uploaded, and the default PHP image does not enable rewrite rules. Pretty permalinks need a published image that sends missing paths to index.php, for example with FallbackResource /index.php.
PHP previews include 512 MB of temporary disk by default.
A minimal image for pretty permalinks, based on the same PHP 8.3 Apache runtime:
FROM php:8.3-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& printf '<Directory /var/www/html>\nFallbackResource /index.php\n</Directory>\n' > /etc/apache2/conf-available/wordpress.conf \
&& a2enconf wordpress
COPY . /var/www/html
RUN chown -R www-data:www-data /var/www/html
EXPOSE 80
CMD ["apache2-foreground"]
Route B, if you already maintain a WordPress image: publish it to a registry Prev can pull from, then deploy that image by name. Prev sends the image name and does not upload local image layers, so a tag that exists only on your machine cannot be pulled. Your source files stay on your machine; Prev pulls the published image.
docker build -t registry.example.com/client-site-review:latest .
docker push registry.example.com/client-site-review:latest
3. Attach a database. WordPress needs MySQL-compatible storage. Prev's managed databases include MariaDB, are created in the dashboard, and are attached with --db. Prev injects a single DATABASE_URL variable and does not expose the raw host, user or password. Managed databases are available on the Individual and Teams plans. Agency includes 1 managed database, with more available as add-ons.
Because WordPress reads its database settings from wp-config.php, have wp-config.php parse that variable:
$db = parse_url(getenv('DATABASE_URL'));
define('DB_NAME', ltrim($db['path'], '/'));
define('DB_USER', isset($db['user']) ? urldecode($db['user']) : '');
define('DB_PASSWORD', isset($db['pass']) ? urldecode($db['pass']) : '');
define('DB_HOST', $db['host'] . ':' . ($db['port'] ?? 3306));
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http';
$home = $scheme . '://' . ($_SERVER['HTTP_HOST'] ?? 'localhost') . '/__app';
define('WP_HOME', $home);
define('WP_SITEURL', $home);
The launch commands in this guide use --feedback, which serves WordPress under /__app/. Omit /__app from WP_HOME and WP_SITEURL when you launch without feedback.
Without /__app in WP_HOME and WP_SITEURL, login and wp-admin redirect out of the feedback frame and do not work there. If the WordPress core lives in a subdirectory, WP_SITEURL must include that path, for example https://<subdomain>.preview.prev.sh/__app/wordpress. Opening wp-admin directly under /__app/ can still return to /wp-admin/ after login. Launch a preview without --feedback when you need wp-admin; clients still use the feedback link.
4. Load the content. The dashboard's database admin can import table data and run SQL, so you can bring in a sanitized copy of the staging content. Avoid importing real customer data into a review copy.
A mysqldump file is not an import format. The import button loads one existing table as CSV or NDJSON. The SQL editor accepts at most 100 KB and 30 seconds.
5. Point WordPress at the review URL. WordPress stores its address in the database, so set WP_HOME and WP_SITEURL in wp-config.php to the preview URL. A fixed subdomain makes that predictable.
The preview URL has the form https://<subdomain>.preview.prev.sh.
WP_HOME and WP_SITEURL override the generated links. They do not rewrite absolute URLs stored in post content, widget settings, or serialized PHP. Restore a copy of the dump into a disposable database, point wp search-replace at that copy, and export the result before import.
6. Launch the review with feedback enabled. Route A, from the WordPress folder:
prev create . --db client-site-db --subdomain acme-redesign --feedback
Route B, from your image:
prev create --image registry.example.com/client-site-review:latest --port 80 \
--db client-site-db --subdomain acme-redesign --feedback
Your client opens the link, clicks the review flag on the edge of the page, pins comments to the elements they mean, and either requests changes or approves. You see every item in the dashboard feedback inbox or with prev feedback.
7. Ship the next round on the same URL. After you fix the requested changes, update the source deploy in place from the WordPress folder with prev create --to acme-redesign. A successful update starts a new review round; earlier approvals no longer count for it, and previous change requests stay visible. --to uploads new source. It does not replace an image deployment; for Route B, publish a new image and create a new preview.
8. Let it expire. Previews are cleaned up automatically when their lifetime ends: up to 3 days on Free, 7 days on Individual and 14 days on Teams. Individual, Agency, and Teams also add password protection with --credentials, and Teams adds IP allowlists.
Agency previews last up to 10 days. The managed database remains after the preview expires until it is deleted in the dashboard.
One review flow for every client
Running reviews for several clients? Give each one its own subdomain, such as acme-redesign or bloom-launch. Add approval slots when both your client and your QA lead must sign: prev create . --feedback --approval-slots client,qa returns a review link per role, and the decision history shows who approved which round. On paid plans, add a password with --credentials for unreleased work.
Where this approach stops
Prev supports self-contained web projects and Dockerized apps that expose one HTTP port. Multi-service orchestration, long-running workers and production-like shared data may need dedicated staging. A WordPress site that depends on several extra services, or that must stay in sync with live orders, is a better fit for a traditional staging setup. Prev also does not replace production hosting; the live site stays where it is.
Choosing the right option
- Ongoing, months-long client access: a staging server or your host's staging.
- A quick look during a call: a local tunnel.
- Static or headless front ends: Netlify or Vercel previews.
- A focused review round with recorded approval and automatic cleanup: a hosted review environment.
Launch your first review free. One active preview, up to 3 days, no credit card. Need the managed MariaDB? Start the 14-day Individual, Agency, or Teams evaluation, also without a credit card.
FAQ
Do I need Git or a pull request?
No. Run prev create . from the WordPress folder. Git, FTP, and SSH sources are optional.
Do my clients need a WordPress or Prev account to review?
No. They open the shared HTTPS link, enter a name (email optional), and leave feedback or approve.
Can I run WordPress on the Free plan?
You can deploy the codebase and use client feedback on Free, but WordPress needs a database, and managed databases are on Individual and Teams. Agency includes 1 managed database, with more available as add-ons. Free previews last up to 3 days.
Can I password-protect the staging link?
Yes, on Individual, Agency, and Teams with --credentials (HTTP Basic Auth). Teams also supports IP allowlists.
What happens to approvals when I push changes?
An in-place update starts a new review round on the same URL; earlier approvals no longer count for that round.
Does this replace my staging server?
Not for every case. Multi-service setups, long-running workers and production-like shared data may still need dedicated staging.