Guides
Practical guides on websites, servers and development – with examples and the matching tools to try things out right away.
- Special characters in database passwords Why @, :, / or # in a password break your DATABASE_URL and how to encode the password correctly – for Symfony, Laravel, Doctrine and Docker.
- Redirects for a website relaunch How to plan 301 redirects for a relaunch: collect old URLs, map targets, avoid chains and check the result.
- Which favicons does a website need? Which favicon files and sizes a website really needs today – favicon.ico, SVG, Apple touch icon and web manifest – including the HTML.
- Password-protect a directory (.htpasswd) Protect a directory or staging site with .htaccess and .htpasswd – for Apache and nginx, using secure hashing.
- Optimize images for the web Resize and compress images the right way: suitable sizes, WebP, AVIF or JPEG, quality, responsive images and lazy loading.
- Accessible colors: contrast according to WCAG What the WCAG contrast ratio means, which values apply to text and UI components and how to fix colors that are too weak.
- UUID v4, v7 or ULID as a primary key? When UUIDs make sense as primary keys, why v7 and ULID suit databases better than v4 and how to store them.
- Using JWT securely Common security mistakes with JSON Web Tokens and how to avoid them: alg none, weak keys, missing checks and where to store tokens.