How to Slow Down Scrapers That Hammer Your WordPress Site

slow down wordpress scrapers

How to Slow Down Scrapers That Hammer Your WordPress Site A scraper that hits your WordPress site hundreds of times a minute does more than waste bandwidth. It eats PHP workers and can push a small VPS into swapping during peak hours. If you want to slow down wordpress scrapers before they drag your site … Baca Selengkapnya

How to Self-Host a URL Shortener on Your VPS and Track Every Click

self-host a url shortener on vps

How to Self-Host a URL Shortener on Your VPS and Track Every Click Long links look messy in print, in bios, and in chat messages, and they tell you nothing about who clicked them. A short link fixes the first problem, and a self-hosted shortener fixes the second: when you self-host a URL shortener on … Baca Selengkapnya

How to Host a Client Website on Your VPS Without Mixing It with Your Own

host a client website on vps

How to Host a Client Website on Your VPS Without Mixing It with Your Own When you host a client website on VPS space that also runs your own sites, one wrong permission or one shared database user can mix the two together. A client plugin update can take down your blog. A client upload … Baca Selengkapnya

Nginx Error Pages: How to Show a Custom 404 and 502 Page

nginx custom error pages

Nginx Error Pages: How to Show a Custom 404 and 502 Page When a visitor hits a missing page or your backend goes down, Nginx shows a plain white page with a short error line by default. That default page tells the visitor nothing useful and makes a small site look abandoned. Setting up nginx … Baca Selengkapnya

Nginx FastCGI Cache Setup: Full-Page Caching Without a Plugin

A WordPress site on a small VPS can feel slow even when the server has plenty of CPU headroom. The usual cause is PHP: every visit runs WordPress, hits the database, and builds the page from scratch. A nginx fastcgi cache setup fixes that at the web server level. Nginx stores the finished HTML page … Baca Selengkapnya

Image Optimization Pipeline: cwebp and Nginx for Faster Page Loads

Image Optimization Pipeline: cwebp and Nginx for Faster Page Loads Images often carry most of the weight on a WordPress page. A single uncompressed photo can weigh more than the HTML, CSS, and JavaScript combined, and a gallery page can carry dozens of them. That is why cwebp nginx image optimization is a practical starting … Baca Selengkapnya

What Is a Reverse Proxy and When Should You Use Nginx for It?

A reverse proxy is a server that sits in front of one or more backend servers and forwards client requests to them. The client talks to the proxy, the proxy talks to the backend, and the client never connects to the backend directly. This guide answers what is a reverse proxy in plain terms, explains … Baca Selengkapnya

How to Serve Multiple Domains From One Nginx Server

One Nginx server can host many websites. Each site gets its own server block with its own domain name, document root, and log files, while Nginx sorts incoming requests by the Host header and sends each one to the right block. This guide shows how to serve multiple domains from one Nginx server, from the … Baca Selengkapnya