Skip to content

Repository files navigation

WordPress Trade Starter

Buy me a coffee

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
  • GEO-ready — Generative Engine Optimization for AI search (Google AI Overviews, Perplexity, ChatGPT Search, Claude Web)
  • 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.

Buy me a coffee

Documentation

#TopicDescription
01Server SetupServer selection and initial configuration
02Docker DeployDeploy WordPress with Docker Compose
03SSL & HTTPSLet's Encrypt certificate setup
04WordPress SetupBasic WordPress configuration
05Theme & PluginsRecommended theme and plugin stack
06MultilingualMulti-language setup with Polylang
07SEOSEO optimization with Rank Math
08PerformanceFull performance optimization guide
09CloudflareCloudflare CDN configuration
10SecuritySecurity hardening checklist
11MaintenanceDaily operations and monitoring
12GEO OptimizationAI search engine optimization (citability, llms.txt, schema)

Recommended Plugin Stack

PluginPurposeFree?
AstraLightweight theme, Elementor-compatibleYes
ElementorVisual page builderFreemium
Rank MathSEO (sitemap, schema, meta)Yes
WP Super CachePage cachingYes
ImagifyImage optimization + WebPFreemium
Jetpack BoostCritical CSS, lazy loadingYes
PolylangMultilingual contentYes
Contact Form 7Contact formsYes
FlamingoStore CF7 submissions in WP adminYes
ChatyWhatsApp/chat widgetFreemium
eCommerce Product CatalogProduct showcase (no WooCommerce)Yes

Performance Results

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

MetricBeforeAfter
PageSpeed Desktop4578+
TTFB1.8s0.3s
LCP4.2s2.1s
Total page size3.2MB1.1MB

File Structure

├── docker-compose.yml # Docker orchestration (WordPress + MySQL + Nginx)
├── nginx.conf # Nginx: SSL, proxy cache, Gzip, WebP, Cloudflare, security headers
├── .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
├── assets/
│ └── geo-functions.php # GEO: AI search engine optimization (JSON-LD, robots.txt, meta)
└── 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.

Buy me a coffee

About

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

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages