Setting Up WooCommerce on Your Hosting
WooCommerce is the most popular e-commerce platform, running as a WordPress plugin.
Requirements
- WordPress installed (use Softaculous for easy setup)
- PHP 8.2 or 8.3
- MySQL 5.7+
- At least 256 MB PHP memory limit
- SSL certificate (required for payments)
Installation
- Log in to WordPress Admin → Plugins → Add New.
- Search for WooCommerce → Install → Activate.
- Follow the setup wizard:
- Store details (country, currency, address)
- Payment methods
- Shipping zones
- Add your first products
PHP Configuration for WooCommerce
In DirectAdmin → PHP Configuration or .user.ini:
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 180
Recommended WooCommerce Plugins
| Plugin | Purpose |
|---|---|
| Stripe | Credit card payments |
| PayPal | PayPal payments |
| WooCommerce Subscriptions | Recurring payments |
| YITH WooCommerce Wishlist | Customer wishlists |
| WooCommerce PDF Invoices | Automatic invoice generation |
Securing Your Store
- Always use SSL (HTTPS) — required for payment processing.
- Use a dedicated, strong password for the WordPress admin.
- Regularly back up both files and the database.
- Install Wordfence for security monitoring.
Performance Tips for WooCommerce
- Use LiteSpeed Cache or W3 Total Cache.
- Exclude cart, checkout, and my-account pages from caching.
- Use a CDN (Cloudflare) for static assets.
- Optimise images before uploading product photos.