Skip to content

iPythoning/wordpress-trade-starter

Repository files navigation

WordPress Trade Starter

Clawhub

English | 中文

Production-ready WordPress template for international trade businesses. Docker-based, performance-optimized, multilingual-ready.

                    ┌─────────────┐
                    │  Cloudflare  │  CDN + WAF + SSL
                    │   (Free)     │
                    └──────┬──────┘
                           │
                    ┌──────▼──────┐
                    │    Nginx     │  Reverse Proxy + Cache + Gzip
                    │   :80/:443  │
                    └──────┬──────┘
                           │
                    ┌──────▼──────┐
                    │  WordPress   │  6.7 + Apache
                    │   + Plugins  │  Super Cache / Imagify / Rank Math
                    └──────┬──────┘
                           │
                    ┌──────▼──────┐
                    │   MySQL 8    │  Persistent Volume
                    └─────────────┘

Features

  • One-click deploysetup.sh handles Docker, SSL, and Nginx configuration
  • Triple-layer cache — WP Super Cache + Nginx proxy cache + Cloudflare CDN
  • Auto WebP — Imagify converts images; Nginx/Apache serve WebP to supported browsers
  • SEO-ready — Rank Math with structured data, XML sitemap, Open Graph
  • Multilingual — Polylang for multi-language support (EN/ZH/RU/ES/...)
  • Security hardened — HTTPS everywhere, file editor disabled, Cloudflare WAF
  • Production-tested — Battle-tested on a real B2B semi-trailer manufacturer site

AI-Guided Setup (via OpenClaw)

Install the Clawhub skill and let an AI agent guide you through the entire process interactively:

clawhub install wordpress-trade-site

Then tell your OpenClaw agent: "帮我建一个外贸独立站" — it will walk you through 9 phases from server setup to final verification.

Quick Start (5 minutes)

Prerequisites

  • Linux server (Ubuntu 22.04+ recommended), 1 CPU / 1GB RAM minimum
  • Domain name with DNS access

Deploy

git clone https://github.com/iPythoning/wordpress-trade-starter.git
cd wordpress-trade-starter
cp .env.example .env        # Edit with your domain & passwords
sudo bash setup.sh

That's it. Open https://your-domain.com/wp-admin to complete the WordPress setup wizard.

Manual Setup

If you prefer manual control, see docs/02-docker-deploy.md.

Documentation

# Topic Description
01 Server Setup Server selection and initial configuration
02 Docker Deploy Deploy WordPress with Docker Compose
03 SSL & HTTPS Let's Encrypt certificate setup
04 WordPress Setup Basic WordPress configuration
05 Theme & Plugins Recommended theme and plugin stack
06 Multilingual Multi-language setup with Polylang
07 SEO SEO optimization with Rank Math
08 Performance Full performance optimization guide
09 Cloudflare Cloudflare CDN configuration
10 Security Security hardening checklist
11 Maintenance Daily operations and monitoring

Recommended Plugin Stack

Plugin Purpose Free?
Astra Lightweight theme, Elementor-compatible Yes
Elementor Visual page builder Freemium
Rank Math SEO (sitemap, schema, meta) Yes
WP Super Cache Page caching Yes
Imagify Image optimization + WebP Freemium
Jetpack Boost Critical CSS, lazy loading Yes
Polylang Multilingual content Yes
Contact Form 7 Contact forms Yes
Chaty WhatsApp/chat widget Freemium
eCommerce Product Catalog Product showcase (no WooCommerce) Yes

Performance Results

Tested on a 1-core / 1GB VPS with Cloudflare Free plan:

Metric Before After
PageSpeed Desktop 45 78+
TTFB 1.8s 0.3s
LCP 4.2s 2.1s
Total page size 3.2MB 1.1MB

File Structure

├── docker-compose.yml    # Docker orchestration (WordPress + MySQL + Nginx)
├── nginx.conf            # Nginx: SSL, proxy cache, Gzip, WebP, Cloudflare
├── .htaccess             # Apache: Super Cache, browser cache, WebP, Gzip
├── wp-config-extra.php   # Extra wp-config.php snippets
├── setup.sh              # One-click deployment script
├── .env.example          # Environment variables template
└── docs/                 # 11-part documentation

Who Is This For?

  • Foreign trade companies building B2B websites (manufacturers, exporters, trading companies)
  • WordPress beginners who want a production-ready starting point
  • Developers deploying WordPress sites for international clients

Contributing

Issues and PRs welcome! Please see our documentation for the technical details.

License

MIT


Built with real-world experience from TitanPuls.com — a semi-trailer manufacturer serving 50+ countries.

About

Production-ready WordPress template for international trade businesses. Docker-based, performance-optimized, multilingual-ready.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors