Hosting settings and security checklist for a WooCommerce store
1. Why does a store need extra care?
A store holds personal data such as customer addresses, orders and accounts. Even an hour of downtime means lost sales. So, unlike a blog, you should make sure that:
- The whole site opens over HTTPS.
- PHP settings can handle heavy tasks such as product imports and the cart.
- Updates are tested first, and a backup is taken before every change.
- Admin accounts are locked down with strong passwords and extra protection.
2. Install WooCommerce
- In cPanel, open WordPress Manager by Softaculous in the Software section.
- Click Manage Plugins on your site's row and go to the Add Plugins tab.
- Type
woocommercein the search box. - Click Install on the WooCommerce row whose author is Automattic. You can also do this in the WordPress dashboard under Plugins → Add New Plugin.
- Log in to the WordPress dashboard and complete the WooCommerce setup wizard: store address, currency, tax and shipping settings.
For payments, use the official WooCommerce plugin of the payment provider you work with and set it up following the provider's documentation. Don't store card details on your own site; the payment page should be on the provider's side.
3. Set the PHP version and settings for a store
- In MultiPHP Manager, choose a current PHP 8 version from the list for your domain (B34). Current WooCommerce releases don't support old PHP versions.
- In MultiPHP INI Editor, open Basic Mode and select your domain.
- Enter these values and click Apply at the bottom of the page:
| Setting | Recommended value | Why |
|---|---|---|
memory_limit |
256M |
Cart, checkout and report pages need memory |
max_input_vars |
3000 |
Products with many variations and large menus save fully |
max_execution_time |
120 |
Product imports and exports don't stop halfway |
upload_max_filesize / post_max_size |
64M |
Product images and CSV files can be uploaded |
- In the WordPress dashboard, open WooCommerce → Status and check that no red warnings remain under WordPress environment and Server environment.
4. Set up updates
- Open your site's row in WordPress Manager. Under Configuration, in Auto Upgrade WordPress Core, choose automatic installation of minor (security) releases.
- Decide on Auto Upgrade WordPress Plugins and Auto Upgrade WordPress Themes. For a store, it's safer to test major WooCommerce updates against your payment and shipping plugins on a staging copy first (B37).
- If you keep automatic updates off, check for updates at least once a week. A plugin waiting for an update is the most common point of attack on a store.
When a WooCommerce release asks for a database update, take a backup before confirming the "update database" notice in the dashboard.
5. Turn on security measures
- In WordPress Manager, click Security Measures on your site's row.
- Select All (Critical and Recommended), or pick items one by one with Choose manually. Key measures: change the default administrator username, block unauthorized access to
xmlrpc.php, disable file editing in the dashboard, and forbid PHP execution inwp-content/uploads. - Click Apply, then test the front end, cart and checkout.
If a payment or shipping plugin uses xmlrpc.php or another blocked path, you can remove that measure in the same window. If something breaks after turning a measure on, try turning that one off first.
- Review admin accounts: give each staff member their own user, give the Administrator role only where needed, and give store managers the Shop manager role.
- Use passwords of at least 12 characters that you don't use anywhere else, and install a two-factor authentication plugin for WordPress.
- Sites installed with Softaculous come with the Loginizer plugin, which limits login attempts; don't remove it.
- In the cPanel Security section, check with the SSL/TLS tools that your site has a valid SSL certificate. Keep ModSecurity on; if it blocks something by mistake, open a support ticket rather than turning it off (B09).
6. Set up backups
- In WordPress Manager, click Backup on your site's row.
- Leave Backup Directory and Backup Database ticked. Write the reason in Backup Note (for example "before WooCommerce update").
- Click Backup Installation. The backup can be downloaded and restored from the Backups and Restore list (B40).
As stated on our hosting page, daily and weekly backups are taken for accounts up to 2 GB. For a busy store, also take your own backup before every update and download important backups to your computer.
Restoring an old backup deletes the orders and customer records received after it. Export recent orders from WooCommerce before restoring.
7. Make scheduled tasks reliable
WooCommerce runs jobs such as stock notifications, subscription renewals and emails as scheduled tasks in the background. By default these are triggered when a visitor arrives. To make them run on time even in quiet hours, turn wp-cron into a real cron job (B39).
8. Pre-launch checklist
| Check | Where |
|---|---|
| The site opens over HTTPS with no browser warning | cPanel Security → SSL/TLS |
| A current PHP 8 version is selected | MultiPHP Manager (B34) |
memory_limit 256M, max_input_vars 3000 |
MultiPHP INI Editor |
| No red warnings in WooCommerce → Status | WordPress dashboard |
| Security Measures applied and the store tested | WordPress Manager |
| Each staff member has their own account, a strong password and two-factor authentication | WordPress → Users |
| A full backup was taken and downloaded before launch | WordPress Manager → Backup |
| A real cron job is running | cPanel Cron Jobs (B39) |
| Unused plugins and themes are deleted | Manage Plugins (B33) |
9. Common problems
| Symptom | Cause | Fix |
|---|---|---|
| Some variations disappear when saving | max_input_vars is too low |
Raise it to 3000 or more. |
| "Critical error" on the checkout page | The payment plugin isn't compatible with the PHP version | Update the plugin; if needed, test the PHP version on a staging copy (B37). |
| Order emails go out late | Scheduled tasks depend on visitors | Set up a real cron job (B39). |
| A plugin stops working after a security measure | It uses a blocked path | Remove that measure in Security Measures. |
| The checkout form returns 403 | The firewall blocked the request by mistake | Follow B09 or open a support ticket. |
10. FAQ
Which payment provider should I use?
That's a business decision; use the official WooCommerce plugin of the provider you sign up with. On the hosting side, what matters is that the site opens over HTTPS and the plugin is kept up to date.
My store is slow. What should I do?
Start with the steps in B33. Make sure your caching plugin excludes the cart, checkout and my-account pages.
Is shared hosting enough for my store?
It's enough for most small and medium stores. If you often hit resource limits, consider upgrading your plan (A07).
How do I protect customer data?
Restrict admin accounts, use two-factor authentication, keep plugins updated and store backups somewhere safe. For your legal obligations on personal data, consult your legal adviser.
My store was hacked. What should I do?
Follow the steps in B40: change passwords, go back to a clean backup and install updates.
Our WordPress Hosting plans are prepared for WordPress, and on Türkiye plans your data stays in our Istanbul data centre. See the WordPress Hosting page for current plans.
Next step
- B39: Replacing WordPress wp-cron with a real cron job
- B40: Cleaning up a hacked WordPress site
- B37: Copying a WordPress site (staging and cloning)
Thanks for your feedback!
