STEL Order, a leading ERP system specializing in industrial supplies, required a robust solution for their WordPress website managing thousands of products. Over six years (2019-2025), we led the development of a custom deployment automation system, advanced performance optimization achieving exceptional Core Web Vitals, and specialized ongoing support for their complex multilingual environment. While we performed extensive work on their AWS infrastructure design, security hardening, optimization, maintenance and evolution, this article focuses specifically on the improvements to their public WordPress website.

This comprehensive engagement spanned three major technical initiatives: development of a custom automated deployment system for staging-to-production synchronization, advanced WordPress optimization to achieve exceptional Core Web Vitals scores, and specialized ongoing support for complex multilingual (WPML) and SEO-optimized (Rank Math) environments.
Table of Contents
Implemented Solutions
- Custom deployment automation system
- Advanced performance optimization and CDN
- Security, SEO, and multilingual configuration
- Ongoing support and technical maintenance
Results
Solution 1: Custom Deployment Automation System
Developed staging2production, a custom deployment automation system enabling safe, repeatable deployments with intelligent file synchronization and database management.

Key Components
File Synchronization Engine (rsync-based):
- Differential synchronization from staging to production
- Intelligent exclusion patterns protecting environment-specific files (wp-config.php, robots.txt, .htaccess, uploads)
- Automatic permission preservation and ownership management
Database Synchronization Pipeline:
- Automated MySQL dump from staging RDS instance with gzip compression
- Import into production with automatic user privilege management
- Search-replace functionality handling serialized PHP data structures
- URL transformation across all database tables including WPML translations
Post-Deployment Automation:
- Automatic WP Rocket cache clearing
- Selective plugin management for conflict-prone plugins
- Verification scripts confirming successful deployment
- Automated notifications with deployment summary and logs
Technical Implementation
The system implements pre-deployment ownership auditing, extended execution timeouts for large deployments, asynchronous database operations, and comprehensive error handling with automatic rollback capabilities for failed operations.
Current deployment workflow: Pre-deployment health checks → file synchronization → maintenance mode → database sync → URL search-replace → cache clearing → validation → monitoring.
Solution 2: Advanced Performance Optimization and CDN
Comprehensive optimization achieving exceptional Core Web Vitals metrics and implementing global content delivery infrastructure.
Apache .htaccess Optimization
Migrated all Apache .htaccess rules to virtual host configuration, eliminating file system traversal and parsing overhead on every request, improving server response times.
Core Web Vitals Optimization
LCP (Largest Contentful Paint): Preloaded critical resources, implemented responsive images with srcset, optimized image delivery (WebP format), lazy-loaded below-the-fold images.
FID/INP (First Input Delay / Interaction to Next Paint): Deferred non-critical JavaScript, split bundles, removed unused code, implemented requestIdleCallback for background tasks.
CLS (Cumulative Layout Shift): Defined explicit dimensions for all images, reserved space for dynamic content, used font-display: swap for web fonts.
Frontend Optimization
- Extracted and inlined critical above-the-fold CSS
- Loaded remaining CSS asynchronously
- Removed jQuery where vanilla JavaScript sufficed
- Combined and minified JavaScript bundles
- Implemented code-splitting for route-specific code
- Reduced total JavaScript payload significantly
AWS CloudFront CDN Implementation

Distribution Configuration:
- Origin: STEL Order production servers (EC2 in Ireland) with HTTPS-only
- Cache behavior: Static assets (7-day TTL), HTML pages (10-minute TTL)
- Global edge locations (200+ POPs) with optimization for Europe
- Custom SSL certificate with TLS 1.2 minimum
- Automatic Gzip and Brotli compression
Global Performance Improvements:
- Significant latency reduction across Europe, Americas, and Asia Pacific regions
- Reduced origin server bandwidth requirements
- Lower infrastructure costs
- Improved customer experience globally
WP Rocket Configuration
Configured aggressive page caching with exclusions for WooCommerce cart/checkout, WPML language cookies, and user-specific content. Enabled lazy-loading, minification, Google Fonts combination, and JavaScript deferral. Integrated automatic cache clearing with deployment system.
Solution 3: Security, SEO, and Multilingual Configuration
AWS WAF for WordPress Security
Implemented comprehensive protection with SQL injection detection, XSS filtering, path traversal prevention, and WordPress-specific attack pattern recognition. Configured rate limiting and IP whitelisting for SEO crawlers and legitimate services, ensuring security without blocking legitimate traffic.
WPML Multilingual Support
Configured 5-language support (Spanish, English, French, German, Portuguese) for 5,000+ translated product pages. Resolved configuration conflicts between WPML and other plugins, optimized database queries with WPML-specific caching, and implemented separate caches per language in WP Rocket.
Rank Math SEO Technical Optimization
Configured automatic meta descriptions, schema markup (products, organization, breadcrumbs), and XML sitemaps for all languages. Implemented consistent URL structures, optimized robots.txt configuration, and integrated with WP Rocket lazy-loading for optimal indexability.
Solution 4: Ongoing Support and Technical Maintenance
Provided specialized continuous support throughout the six-year engagement, including WordPress core and plugin updates with staging testing, security patch application, database optimization, performance monitoring, plugin troubleshooting, SSL certificate management, and emergency technical support for critical issues.
Performance Results and Core Web Vitals
The comprehensive WordPress optimization delivered exceptional performance metrics validated by Google PageSpeed Insights.
PageSpeed Insights Results
Performance Achievements
Business Impact
- User Experience: Exceptional page load performance improving customer satisfaction and engagement
- SEO Performance: Core Web Vitals optimization meeting all Google ranking criteria
- Global Reach: CDN implementation enabling fast access for international customers
- Operational Efficiency: Automated deployment system streamlining development workflow
- Platform Stability: Proactive maintenance ensuring consistent performance and availability
Key Achievements
This engagement demonstrated expertise across multiple technical domains:
WordPress Architecture and Optimization:
- Deep WordPress optimization achieving exceptional Core Web Vitals scores validated by PageSpeed Insights
- Successful Apache configuration optimization for maximum performance
- Expert management of complex plugin ecosystem (WPML, Rank Math, WooCommerce, WP Rocket)
Custom Development and Automation:
- Production-grade deployment automation system with robust error handling
- Intelligent file synchronization with environment-specific exclusions
- Automated database operations with serialized data handling
AWS Cloud Integration:
- CloudFront CDN architecture for global performance
- WAF configuration balancing security with legitimate traffic
- RDS database optimization for WordPress workloads
Performance Engineering:
- Systematic Core Web Vitals optimization across all metrics
- Frontend performance optimization (CSS, JavaScript, fonts, images)
- Advanced caching strategies with WP Rocket
Multilingual and SEO:
- Complex WPML configuration for 5-language support
- Rank Math technical SEO optimization
- Integrated multilingual caching and performance strategies
Conclusion
The six-year engagement with STEL Order encompassed comprehensive work across their entire technology infrastructure. Throughout this period, we designed, secured, optimized, maintained, and evolved their complete AWS cloud infrastructure, including multi-region architectures, VPC network security, RDS database clusters, EC2 compute optimization, CloudFront CDN, WAF security policies, backup strategies, and disaster recovery solutions. However, this article has focused specifically on the improvements to their public WordPress website that complemented this broader infrastructure work.
The WordPress transformation delivered a high-performance, automated, and resilient ERP platform. The custom deployment automation streamlined development workflows, comprehensive performance optimization delivered exceptional Google PageSpeed scores, and specialized ongoing support maintained stability as the site grew in complexity.
This project demonstrated the power of combining custom development, performance engineering, cloud architecture, and deep WordPress expertise to deliver measurable technical excellence. The platform now provides exceptional user experience with PageSpeed scores of 95-100/100, scales efficiently with business growth, and maintains high availability through proactive monitoring and support.
STEL Order now has a complete technology stack optimized for performance, scalability, and reliability, from the underlying AWS infrastructure to the WordPress application layer, providing an excellent foundation for their continued business growth and expansion into new markets.
Need WordPress performance optimization and deployment automation?
If your organization faces similar challenges:
- Complex WordPress environments with WPML multilingual support and thousands of products.
- Manual deployment processes prone to errors and requiring extensive testing time.
- Poor PageSpeed scores affecting SEO rankings and user experience.
- No CDN implementation causing slow load times for international visitors.
- Plugin conflicts and compatibility issues requiring specialized troubleshooting.
As a WordPress optimization specialist with 25+ years of infrastructure experience, we can help you achieve exceptional PageSpeed scores, implement automated deployment systems, configure global CDN delivery, and provide ongoing specialized support for complex WordPress environments.
Specialized in Core Web Vitals optimization, WP Rocket configuration, AWS CloudFront CDN, deployment automation, and WPML/WooCommerce performance tuning.
Get in touch →
About the author
Daniel López Azaña
Tech entrepreneur and cloud architect with over 25 years of experience transforming infrastructures and automating processes. Specialist in AI/LLM integration, Rust and Python development, and AWS & GCP architecture. Restless mind, idea generator, and passionate about technological innovation and AI.
Related projects

Optimalway: AWS Infrastructure & Optimization
Scalable AWS infrastructure with auto-scaling for PHP/Java apps, MongoDB optimization, and Apache/PHP-FPM/Tomcat performance analysis. Trusted cloud partner.

AWS Infrastructure Optimization for Virtway Metaverse - Aurora Serverless v2 and intelligent autoscaling
Highly scalable AWS architecture designed to support virtual events with extreme traffic spikes for Virtway Metaverse. Implementation of Aurora Serverless v2 with multi-layer hybrid autoscaling, optimized RDS Proxy and advanced scaling strategies that reduced latency and costs while ensuring availability during connection avalanches.

Verasia - AWS Infrastructure for Language Learning Portals
6 years managing AWS infrastructure for Verasia's PrestaShop e-commerce network. Migration, Apache optimization, ERP integration, and CDN implementation for reliable multi-site operations.
Comments
Submit comment