URL Rewrite Generator
Enter a dynamic URL like product.php?id=5&name=sample and get the .htaccess RewriteRule for a clean /product/5/sample address.
Results appear here as you type.
This tool runs entirely in your browser; nothing you enter is sent to a server or stored.
In short
A URL rewriter prepares Apache mod_rewrite rules that turn query-string URLs (product.php?id=5) into short paths like /product/5. Readable URLs build trust and look better when shared; WordPress already does this with permalinks.
What does URL Rewrite Generator do?
Enter a dynamic URL like product.php?id=5&name=sample and get the .htaccess RewriteRule for a clean /product/5/sample address. It is free and needs no sign-up.
Who uses it and when?
- Developers of custom PHP projects
- Businesses moving an old site to clean URLs
- Sysadmins running Apache
Frequently asked questions
Is URL Rewrite Generator free?
Yes. The tool is free, needs no account and the data you enter is not stored.