A function for finding and fixing broken links in WordPress

A function for finding and fixing broken links in WordPress

Broken links cause a loss of authority (link juice) and eat into thecrawl budget, as search engine bots waste time indexing HTTP 404 responses instead of valuable content. They also degrade the user experience by disrupting the flow of navigation and increasing the bounce rate. By fixing them with 301 redirects or updating ... Read more

How to speed up the WordPress search function using a static JSON index

How to speed up the WordPress search function using a static JSON index

It’s no secret that the WordPress search function is rubbish. Aesthetically speaking, it’s relatively easy to fix; however, its functionality is another matter entirely, as it offers no configuration options whatsoever – and to make matters worse, its performance is abysmal. When a WordPress site accumulates thousands of posts, the built-in search function ... Read more

Precision dark mode: Full control over aesthetics and performance

Precision dark mode: Full control over aesthetics and performance

Just a quick note to let you know that today we have added a custom dark mode with a theme selector to the right of the top menu. The automatic implementation(prefers-color-scheme) has been replaced by a management based on the [data-theme="dark"] selector that allowed the dark theme to be displayed when the user ... Read more

Updating plugins

Dos plugins WordPress

Between late 2025 and early 2026 I converted three functions I used regularly into plugins, which I ended up uploading to the WordPress repository in case they might be useful to someone. Last week I reviewed all three to check their security and compatibility with WordPress 7.0, which was released on 20 May. ... Read more