r/Wordpress • • 2d ago

WordPress Provisioning

This may be best answered by an agency that frequently spins up WordPress sites.

What is your default configuration?

When I spin up a site I always perform the following (unless there is a compelling business reason to not do so).

Please note this includes our standard plugins like FluentSMTP and MainWP.

1. Configure WordPress

  • In Settings → Discussion, disable comments on new posts, outgoing link notifications, and incoming pingbacks and trackbacks, then close comments on any existing posts and pages and decide separately whether to allow WooCommerce product reviews.
  • Set the site title, tagline, admin email, timezone, and site icon, then confirm that both the WordPress Address and Site Address use the intended production HTTPS URL.
  • Assign a static homepage and, if needed, a posts page under Settings → Reading, then use Post name permalinks for new brochure sites and preserve existing URLs where possible on redesigns.
  • Remove sample content and unused plugins and themes, install Divi and the required plugins, and configure global colors, fonts, the header, the footer, and the mobile menu before building pages.

2. Set up security, backups, and email

  • Create named admin accounts with MFA, give clients only the permissions their roles require, keep WordPress and its plugins and themes updated, and leave public registration off unless the site needs customer or member accounts.
  • Schedule off-server backups of the database and site files, confirm the first backup completes, and test a restore.
  • Configure outgoing email through FluentSMTP or your chosen mail service, then submit every live form and verify delivery to the client’s inbox, the reply-to address, and any customer confirmations.
  • Configure page caching, Cloudflare, and spam protection, then test while logged out and confirm that WooCommerce cart, checkout, and account pages bypass full-page caching when applicable.

3. Run the launch checks

  • Verify the SSL certificate, confirm that HTTP and both www and non-`www` addresses redirect to the preferred HTTPS URL as needed, and preserve existing email records if DNS changes.
  • Keep staging password-protected, uncheck Discourage search engines from indexing this site under Settings → Reading on production, and verify the Rank Math sitemap before submitting it to Google Search Console.
  • Test navigation, forms, tap-to-call links, key buttons, and the 404 page on a phone and desktop, and confirm that a test visit or conversion appears if analytics are installed.
  • Place a test order on WooCommerce sites to verify payment, tax, shipping, stock updates, and order emails, and complete a test booking on booking sites to verify customer and business notifications.
  • Add the site to MainWP, confirm monitoring and backups are active, and document who owns the domain, hosting, plugin licenses, and analytics and who handles updates.
16 Upvotes

21 comments sorted by

2

u/unity100 2d ago

Just have a ready-made 'image' of a fresh website, all configured, needing only name, email changes etc. Use it everywhere.

1

u/NakanoNoNeko 1d ago

Keep live SMTP credentials out of that reusable starter. A cloned site can send real customer notifications before you finish changing its settings. Disable outgoing mail in the starter, then configure FluentSMTP separately for each new site before running your form and order tests.

1

u/ph-sub 1d ago

This is the way. I have a bash script that duplicates the source install and configures it for the new domain. Takes like a minute. It also adds the new domain to Apache’s conf and configures base settings at Cloudflare including DNS and a standard managed challenge

2

u/Mani_Khan_Web_Master 2d ago

Our baseline on every new build, on top of what you listed:

  • "Discourage search engines" on while it's on staging, plus a launch checklist item to switch it back off. That one has bitten everyone at least once.
  • Remove the default post, sample page and unused themes, but keep one default theme as a fallback.
  • In wp-config: DISALLOW_FILE_EDIT true and WP_POST_REVISIONS capped (5 is plenty).
  • Real cron: DISABLE_WP_CRON true plus a server cron hitting wp-cron.php every 5 minutes, so scheduled tasks and email don't depend on traffic.
  • No "admin" username, and the client gets an Editor or custom role unless they actually need full admin.
  • Media settings matched to the image sizes the theme really uses, so each upload doesn't spit out a pile of unused thumbnails.
  • Default category renamed from "Uncategorized", privacy page drafted, date format set.
  • Uptime monitoring and off-server backups, with one test restore done before handoff, not just "backups enabled".

The biggest time saver was turning all of that into a WP-CLI script (or a site template) so every new site starts identical and you only touch the project-specific bits.

2

u/Ringlau-Temilolu 2d ago

one thing missing from the security section is disabling the built-in theme and plugin file editors in the config file. stops a lot of basic headaches if a client account ever gets compromised

2

u/ivicad Jack of All Trades 1d ago

Next to named admin accounts with MFA, I run WP Activity Log on any site with more than one admin account. I added it after a client swore they "didn't touch anything" and the homepage was rearranged. Now I can see which account changed what and when, instead of arguing about memory.

It doesn't stop a change, it only shows who made it. It also records only what happens after you install it, so I add it at handover.

2

u/fer_marketing 22h ago

Solid list. A few I'd add:

  • Admin and notification emails go to us, not the client. The client is often the main admin email and those emails just bother them (a small snippet keeps them from reaching the client).
  • Double WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT from the start (128M to 256M). A lot of "plugin" errors that go away after an update are really the server running low on memory or disk.
  • Test the contact form on the real host before handover. Lots of hosts block port 25, and you only find out when leads stop arriving.
  • Lately I'd skip Divi for native blocks and a light theme. Fast, survives almost every update, nothing to renew.

1

u/Aggressive_Ad_5454 Jack of All Trades 2d ago

I’ll add, check Site Health. It’s a decent checklist of obvious stuff that might have been missed.

1

u/CodeTheStars 2d ago

For our platform we built in a control plane into the “primary” site and use a separate backend system to drive everything.

Our platform has configured named configurations with plugin lists that are allowed within that configuration. Core and plugin updates are managed fleet wide. No MainWP needed.

We use SSO via OIDC across the entire platform so we don’t have to deal with Wordpress login security issues.

Email is handled via individual credentials to an SMTP relay for each site so I can throttle send rates and attribute sending.

So the process is really just hit the create site button and go to town. Repeating myself for all those tasks would drive me crazy.

1

u/mooter23 1d ago

We have a framework site all setup and configured along the lines of your checklist, but also with our theme and plugins etc. Then we clone it. Saves all the messing around twiddling the same buttons every time. Security, menus, basic pages, users for the team etc etc etc. We just press clone. Saves so much time.

1

u/ContinuouslyImprove9 19h ago

Our default is pretty boring: a starter clone with comments off, xmlrpc disabled, minor core + trusted plugin auto updates on, SMTP plugin installed but creds left blank (learned that one the hard way), and a staging copy from day one. Uptime monitor and backups get set up before the client even sees it.

Biggest change for us tho was the brochure sites. If a client only edits a few pages a year we dont spin up WP anymore, we build them in astro and they all sit on novence together. Way less to patch every month and the WP installs we do keep are the ones that actually need it.

1

u/thomas-at-caseproof 3h ago

A few I'd add, mostly for people who clone a starter site.

Regenerate the salts on every copy (wp config shuffle-salts). Otherwise every client site ships with identical auth keys, which nobody notices until it matters.

When staging is a copy of production, kill the payment gateways, webhooks, and cron before anyone logs in. A staging site with live Stripe keys and a working scheduler will cheerfully renew a subscription or email a real customer. Noindex keeps Google out; it doesn't stop the site from doing things.

And I'd keep the baseline as a versioned script rather than a golden image. Images drift quietly, while a script at least tells you what changed and when.

1

u/showbizusa25 2d ago

Solid checklist. One thing I'd add is verifying the server-side security, not just WordPress settings.

I'd check PHP version, file permissions, disable dashboard file editing, and make sure backups are stored off-server.

Also worth testing whether a compromised WordPress admin account could modify plugin files. That's an often overlooked risk.

0

u/Weekly-Media3620 2d ago

That's a good call on the PHP version and file permissions, those get skipped way too often. I'd seen a site where the host left `wp-config.php` at 644 and an outdated plugin let someone read it plain as day, wasn't pretty.

Disabling the file editor through `wp-config.php` is such a tiny thing but stops a ton of damage if an account gets popped. I usually add `define('DISALLOW_FILE_EDIT', true);` during the initial setup and forget about it, clients never notice it's gone.

The off-server backup part you mentioned is huge too. Had a client whose host got hit with ransomware and their "daily backups" were just sitting in a folder on the same machine, completely useless when we needed them.

-1

u/alphex 1d ago

www.pantheon.io

Make an account.

Go to the dashboard. Press create site. Pick Wordpress. Wait a moment.

Done.