URL Rewriting Tool
Enter a URL
Eg. http://www.example.com/test.php?firstid=1&secondid=10
URL Rewriting Tool: Turn Dynamic URLs Into Clean URLs
Enter a dynamic URL such as http://www.example.com/test.php?firstid=1&secondid=10 in the form above, complete the image verification, and run the tool to get rewrite rules for a cleaner version of that address.
Dynamic vs. Clean URLs
- Dynamic URL: contains symbols such as ? and & and values like id=492, for example example.com/product.php?id=492.
- Clean URL: uses readable words, for example example.com/products/blue-running-shoes/.
Clean URLs are easier for people to read, remember, and share.
How to Use the Tool
- Enter the dynamic URL in the same format as the example shown under the box.
- Complete the image verification.
- Run the tool and read the rewrite rules it creates.
- Copy the rules into the configuration of your web server, such as your .htaccess file on Apache.
Before You Use the Rules
- Make a backup of your .htaccess file first.
- Rewrite rules need a server that supports them, such as Apache with mod_rewrite. Your website's own code must also be able to handle the new addresses.
- If your old URLs are already in search results or linked from other sites, set up 301 redirects from the old addresses to the new ones so visitors do not reach error pages.
- Test your pages after the change.
Tips for Good URLs
- Keep them short, lowercase, and readable.
- Use hyphens between words, not underscores or spaces.
- Words in a URL are a small signal for search engines. Do not change working URLs only for this reason.
Frequently Asked Questions
Will clean URLs improve my ranking?
They can make your links easier to understand, but the effect on ranking is small. Content quality matters far more.
Is this tool free?
Yes, it is free to use. To redirect www and non-www addresses, try our Htaccess Redirect Generator.