Latest Post
Writing
Sam James's Articles – Page 5
Discover expert insights from Sam James on Security, Magento 2, DevOps, AI Development, Infrastructure. Stay updated with the latest trends, practical guides, and in-depth analysis in Magento & Ecommerce.
magento-vars.php: Simpler Store Code Mapping for Adobe Commerce Cloud
What magento-vars.php does on Adobe Commerce Cloud, and a shorter PHP 8 version that maps hostnames to store codes, CNAME aliases and integration environment URLs included.
Magento 2 - Elasticsearch 8 Fixing _id disallowed indices in Warden
The single configuration option you need to set to solve the 'Fielddata access on the _id field is disallowed' error within Magento 2 with Warden
Magento 2.4.6+ and Elasticsearch 8: Compatibility, Configuration & Common Errors
Magento 2.4.6 dropped ES7 support and requires Elasticsearch 8 or OpenSearch 2. Covers the supported versions matrix, ES8 configuration, and fixes for common errors including indices.id_field_data.enabled.
Magento 2 - Configuring Nginx Rate Limiting
A simple, no nonsense overview on how to configure rate limiting via Nginx for a Magento 2 website. Including IP and UserAgent whitelisting.
Local Wordpress Bedrock Development using Warden
The secret configuration file you need to implement to get Roots Bedrock working with the warden.dev local environment
Self-Hosted Sentry with Docker Compose: Requirements & Install Guide
Install self-hosted Sentry with Docker Compose on your own server: minimum hardware requirements, the install.sh steps, configuration and backups.
Comparing Magento 2 DB Schema Changes
Generate a diff report for the difference between the Magento 2 DB Schema in code, and the schema currently deployed.
Finding Magento 2 Uncacheable Blocks
Quick and easily identify what XML blocks are breaking your full page caching, by injecting a small piece of code into any template.
OpenVPN Split Routing
Increase throughput, security and speed by enabling split routing for OpenVPN. With only a few lines of server configuration.