I’m very please to announce my first WordPress plugin! It’s called Lock Pages.
The idea came from work with various clients where certain pages started to get moved around, or just vanished. A page can “move” by having its parent page or the slug changed. Sometimes clients would delete a page and replace it with an updated version which had a slightly different slug.
Of course, many of these things just stem from usually harmless habits picked up from working with files on a computer. But on a website, you want to persist your URLs as long as possible. Unless absolutely necessary, pages should be kept with the same permalink, to avoid breaking links and to maximize PageRank and such like.
So, I created this plugin that lets you either lock all pages, or just particular pages. A page being “locked” means the slug can’t be edited, the parent can’t be changed, and it can’t be deleted. (Although, of course admins can still do these things.)
There’s a little more to it than that, but not much. It’s relatively simple. I’ve not yet got it going on any production sites, so technically it’s still in beta. But I’ve given it enough testing now to feel it should be announced. And yes, when I find a moment and I’ve tested it on production sites, I’ll prep it for release on the wordpress.org plugins repository.
Anyway, do check it out and let me know what you think…