Web
Articles about building websites and keeping them running: what the server answers and how to move pages without losing visitors, how to make pages small and fast, where to host them and how to move them. The languages and servers behind a site have their own sections: HTML, CSS, JavaScript, PHP and Nginx. Whether a browser supports a new feature of HTML, CSS or JavaScript is on caniuse.com.
HTML
Character references, colors, picture srcset sizes, and the validator errors with the fix.
Open guide →
CSS
Flowing blocks, numbering table rows, pseudo-elements, grids and localizing content with html[lang].
Open guide →
HTTP status codes
Codes 100 to 511 with their names, plus 419, 449, 499, 509 and 520 to 526.
Open guide →
Redirects
301, 302, 307 and 308 in Apache and Nginx, rule order, and checks with curl.
Open guide →
Canonical page: rel=canonical
link rel=canonical, absolute URLs, the Link header for PDFs, and canonical versus 301.
Open guide →
PUT vs POST
Who chooses the URL, idempotence, the body, PATCH, and the interview answer.
Open guide →
URL encoding
Which characters to encode, %20 or +, and encoding in Python, PHP, JavaScript and curl.
Open guide →
UTM tags
The five parameters, examples, where they show up, and rules for using them.
Open guide →
WebP images
The picture element with a fallback, cwebp, real savings and folder scripts.
Open guide →
Responsive design: an adaptive menu
One grid with media queries, the old per-width tables, and how to test it.
Open guide →
CSS test: shapes and line numbers
Triangles from borders, a square and a circle, and line numbers from CSS counters.
Open guide →
CSS test 2: the code blocks of this site
One example of every text block on this site.
Open guide →
A tram drawn with CSS
A tram from positioned blocks, border triangles and a keyframes animation.
Open guide →
Hosting
Choose a provider, prepare the move, test the server, and learn hosting in ten lessons.
Open guide →
Which hosting to choose
Shared hosting, VPS or cloud, what to check before you pay, and which applications run on a shared plan.
Open guide →
VPS hosting
A virtual server of your own: region, size, image, an SSH key and the first commands.
Open guide →
Moving a site to another hosting
Choose the new plan, copy the files, move the database, switch DNS and keep mail working.
Open guide →
Beget shared hosting
nginx in front of mod_php, the X-Forwarded-Proto header, SSH, and Flask or Django on the basic plan.
Open guide →
DreamHost shared hosting
TLS in Apache, PHP through php85.cgi, why php_flag answers 500, logs and file modes.
Open guide →
Hosting-like Docker images
Two images, their full configuration, and a five-check test plan for redirects, static files and modes.
Open guide →
Website hosting: from a domain name to your own server
Ten lessons from a domain name to a VPS, mail and backups.
Open guide →
Moving a website
DNS, files, database and the switch, plus a real move from Beget to DreamHost.
Open guide →
Move a WordPress site
Files, database, wp-config.php, WP_HOME and WP_SITEURL, and replacing the old address.
Open guide →
Joomla
Module positions, a lost admin password, backups, configuration.php and updates.
Open guide →
Beget mail: create a mailbox
Create a mailbox for your domain in the Beget control panel.
Open guide →
Yandex Mail: collect mail from other mailboxes
Collect mail from Gmail or your domain into Yandex Mail over IMAP.
Open guide →
SEO
How to read an SEO sales email and which basics actually work.
Open guide →
Yandex Metrica: goals
Goal, completion, target visit and conversion, and typical site goals.
Open guide →
Website testing
Validation, status codes, broken links, speed, the mobile view, and UI and API tests.
Open guide →
Firefox
about:config, pixel scaling, a localhost proxy, profiles and cookies.
Open guide →
Git-ignored images: a committed list file
A committed list with sha1, size and path, and the hook that checks it.
Open guide →
Russian IP ranges
All Russian IPv4 blocks from RIPE: check an address, get the list, find the owner.
Open guide →
IP ranges by country
The IPv4 blocks of every European country, with a table for each.
Open guide →
Element tbody not allowed as child of element table in this context
Why the validator reports it, the order of caption, thead, tbody and tfoot, and the fix.
Open guide →
A numeric character reference expanded to the C1 controls range
Why the validator reports it and how to fix the character reference.
Open guide →