I almost edited 25 documentation pages by hand. Then one WordPress plugin did it in 1 second.
I'm building BeeEngine JS , a lightweight 2D game engine for the browser, and I'm writing its documentation on WordPress, one page per module. Every doc page has the same sidebar listing all the modules. While a guide isn't written yet, its link is just an anchor: <li><a href= "#BeeAnimatedSprite" > BeeAnimatedSprite.js </a></li> When I publish the real guide, that link has to point to the new…
I recently built BeeEngine JS, a compact 2D game engine for browsers, and documented it on WordPress, one page per module. Each page featured a sidebar listing all modules. However, the documentation was incomplete - the guide link needed updating on every page. The manual approach was tedious: open page, edit, locate the line, paste the URL, save. Repeat 25 times, and this process would need to be repeated for the remaining 50 pages.
Enter Better Search Replace, a plugin that directly searches and replaces text in the WordPress database. The search was for href="#BeeAnimatedSprite" and replaced it with href="https://beeenginejs.com/animazione-spritesheet-in-javascript-play-update-e-draw/". The dry run showed 444 occurrences, indicating the change applied to all pages and revisions.
The operation took just 1,144 milliseconds to update every page. The author expressed relief and excitement, emphasizing the importance of backing up the database, performing a dry run, using a unique search term, clearing the cache, and verifying the link. This author also shared a tip to keep not-yet-published links as href="#ModuleName" for future updates.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.