What is the URL Rewriting Tool?
Addresses like shop.php?cat=4&id=72 are hard to read and share. Clean addresses like /shop/4/72 look better in search results and are easier to remember.
Paste a dynamic address and the tool suggests a clean version along with the Apache mod_rewrite rule that makes it work, ready to paste into your .htaccess file.
Features
Clean URL suggestion
Turns query parameters into readable path parts.
.htaccess rule
A working RewriteRule you can copy.
How to use the URL Rewriting Tool
- 1
Paste an address that has ? and parameters.
- 2
Choose the clean form you like.
- 3
Add the rule to the .htaccess file at the root of your site.
Who it is for
Older PHP sites
Give an old site friendlier addresses without rewriting the code.
Tips for better results
- After switching, redirect the old addresses with 301 redirects so you keep your rankings.
- Test on a staging copy first. A wrong rule can make pages disappear.
Questions people ask
Does it work on Nginx?
The rule is for Apache (.htaccess). Nginx uses a different syntax.
My server is not Apache?
The rule is for Apache and LiteSpeed. For Nginx the same idea is written with "rewrite" in the server block.