Finding a bug in Textpattern’s URL resolution logic

113 · Ruben Schade · June 4, 2026, 11:36 p.m.
Summary
This post discusses a subtle bug in Textpattern’s URL resolution logic uncovered while migrating WordPress blogs to Textpattern. The author provides a workaround for 404 errors when the article URL pattern is set to a specific format. This includes detailed instructions on how to configure URL schemes in Textpattern and highlights a significant difference between how URLs are handled in WordPress and Textpattern. The author emphasizes the importance of using different URL patterns to avoid issues with 404 errors, which will be addressed in an upcoming update.