I'm blogging about Emacs, Drupal, php and exciting subjects

How to Harden Nginx for PHP and Drupal Sites

Running a Drupal site on Nginx means you are responsible for your own security posture. The default Nginx configuration is permissive — it is built for compatibility, not hardening. This guide walks through every layer of a production-grade Nginx configuration for PHP and Drupal sites: from hiding server fingerprints and locking down sensitive files, to security headers, TLS hardening, rate limiting, and PHP-FPM settings.

All examples are tested against Nginx 1.24+ and Drupal 10/11. Adapt paths to match your server layout.

Mobile-First SEO Optimization (Developer Guide 2026)

Mobile-first indexing means that search engines primarily use the mobile version of your site for ranking and indexing.

This shift reflects how users interact with the web today.


Why Mobile Matters

Most web traffic now comes from mobile devices. If your site performs poorly on mobile, it affects both user experience and search visibility.

Redirects and Canonical Tags (Technical SEO Guide)

Redirects and canonical tags are essential tools for managing duplicate content and maintaining a clean site structure.

When used correctly, they help consolidate signals and prevent confusion.


Understanding Redirects

Redirects send users and search engines from one URL to another.

SEO-Friendly Website Architecture (Developer Guide)

Website architecture is one of the most foundational aspects of SEO.

It determines how content is organized, how users navigate, and how search engines interpret your site.


Why Architecture Matters

Search engines don’t just evaluate individual pages—they evaluate how those pages are connected.

Structured Data for SEO (Complete Developer Guide)

Search engines are incredibly advanced, but they still rely on signals to understand content.

Structured data provides those signals in a clear, standardized format.


What Structured Data Does

Structured data adds context to your content. It tells search engines what your content represents, not just what it says.

Crawl Budget Optimization (Developer Guide for Scalable SEO)

For small websites, crawl budget is rarely a concern. Search engines can easily process all pages without running into limits.

But as your site grows, crawl budget becomes a critical factor.

If search engines spend time crawling unimportant or duplicate pages, they may miss the pages that actually matter.

XML Sitemaps for SEO (Developer Guide 2026)

XML sitemaps are often misunderstood. Many developers treat them as a requirement—something you generate once, submit to search engines, and forget.

In reality, a well-implemented sitemap is a powerful tool for guiding how search engines discover and prioritize your content.

Internal Linking Strategy for SEO (Developer Guide)

When developers think about SEO, they often focus on performance, metadata, or structured data. Internal linking is usually treated as a content concern.

In reality, internal linking is one of the most powerful—and most controllable—ranking factors.

It defines how search engines discover your content, how authority flows through your site, and which pages are considered important.

JavaScript SEO: How to Build Search-Friendly Modern Websites

JavaScript has transformed how websites are built. It enables rich interactions, dynamic content, and seamless user experiences.

But from an SEO perspective, it introduces complexity.

Search engines can process JavaScript—but not always reliably, and not always immediately. This gap between what users see and what search engines see is where many SEO issues begin.

How to Perform a Technical SEO Audit (Developer Guide 2026)

A technical SEO audit is often treated like a checklist. Run a tool, fix a few errors, and move on. But in reality, a proper audit is much closer to debugging a complex system than ticking boxes.

If your site isn’t ranking as expected, there is always a reason. The challenge is finding it.

This guide walks through how developers should approach a technical SEO audit—methodically, with a focus on root causes rather than surface-level symptoms.

Subscribe to