THE WEB
Web Development
Small details make a website reliable. Find practical examples of Apache rules, page structure and everyday web development here.

How to Redirect HTTP to HTTPS with .htaccess
Use a temporary redirect to verify your secure destination before making the change permanent.
Explore
Create a Responsive Video Gallery with Click-to-Load Players
Keep video cards lightweight until someone chooses to load a player, with a complete HTML and JavaScript teaching demo.
Explore
Create a Responsive Card Grid with CSS Grid
Make article or project cards adapt to their container without fixed widths, clipped text or JavaScript layout calculations.
Explore
Create a Sticky Table Header with CSS and Semantic HTML
Build a readable scrolling table without cloning the header or turning table rows into disconnected blocks.
Explore
How to Synchronize Scrolling Between Two Elements
Build a bidirectional scroll link that handles different content heights without taking over the visitor’s input.
Explore
Common PHP File-Path Problems and How to Fix Them
Understand why a file loads from one page but fails from another, then make the path rules explicit.
Explore
Rebuilding Knut-Edvart.com with PHP and a Directory-Based Layout
A case study of turning an older personal domain into a technical knowledge site with plain PHP, shared layouts and useful content.
Explore WEBSITE PROJECTSWebsite Case Studies
Explore the decisions and practical lessons behind individual websites.
Explore
301 vs. 302 Redirects: Which Should You Use?
Choose permanent or temporary redirects, understand request-method changes, and test migrations before making them permanent.
Explore
Relative vs. Absolute URLs: A Guide for Directory-Based Websites
Understand why a link works on your homepage but breaks three directories deeper.
Explore
Redirect an Entire Directory
Preserve matching paths when moving a whole directory with .htaccess.
Explore