← Back to Blog
EngineeringApr 20265 min read

Clean URLs With Middleware (Tools Without /tools/)

The goal

Users prefer short URLs like /ats-score and /tailor-resume. Internally, tools can still live under /tools for organization.

The solution

Use middleware rewrites:

  1. If path matches a clean route, rewrite to /tools/<route>
  2. Keep API and static files untouched

The outcome

Cleaner links, easier sharing, and fewer “where is this page?” moments for users.

More articles
AI Content Creation · Apr 2026
Creating a One-Click AI Blog Generator for Seamless Content Publishing
Explore the design and implementation of a one-click AI blog generator that automates content writing, image selection, and publishing.
AI Engineering · Apr 2026
The Hidden Cost of AI: What Most People Don't Understand About Tokens
Token limits aren't just technical constraints—they're design decisions that impact cost, performance, and user experience. Here's what I learned building AI-powered features on a real budget.
AI & UX · Apr 2026
How AI Chatbots Are Transforming Website User Experience in 2026
From support automation to personalized journeys, conversational AI is reshaping how users interact with websites. Here's what's working, what's not, and the tradeoffs worth considering.
👋 Hi! Need help?
React
Next.js
React Native
AI Automation
GPT-4o
Claude Code
n8n
Core Web Vitals
TypeScript
PostgreSQL
Canvas API
WebGL
WaveSurfer.js
Tailwind CSS
Shopify
WordPress
React
Next.js
React Native
AI Automation
GPT-4o
Claude Code
n8n
Core Web Vitals
TypeScript
PostgreSQL
Canvas API
WebGL
WaveSurfer.js
Tailwind CSS
Shopify
WordPress