URL Rewrite Generator
Turn dynamic URLs into SEO-friendly URLs with generated mod_rewrite rules.
SEO-friendly URL
.htaccess rewrite rule
Update the links on your site to the friendly form. The rule quietly serves the original script, so visitors and search engines only see the clean URL.
Processing and privacy
Processing varies by tool. Check the instructions for local processing, server requests, external services and any file or request limits before entering sensitive information.
Read the privacy policyShare this tool
Found it useful? Send it to a friend or teammate.
Rate this tool
0.0
0 ratings
- 5 stars 0
- 4 stars 0
- 3 stars 0
- 2 stars 0
- 1 star 0
Clear instructions
Find steps, examples and limitations below.
Use online
Open the tool in a supported web browser.
Free to use
No sign-up required. Tool-specific limits may apply.
How to use the URL Rewrite Generator
Turn dynamic URLs into SEO-friendly URLs with generated mod_rewrite rules.
- 1 Paste a dynamic URL with its query string.
- 2 Choose the friendly URL style and ending.
- 3 Copy the rewrite rule into .htaccess and update your site links to the friendly form.
Example and practical tips
https://example.com/product.php?id=12&category=shoes becomes https://example.com/product/12/shoes, with a rule that quietly serves product.php?id=12&category=shoes.
Frequently asked questions
Does the rewrite change my links automatically?
No. The rule serves the friendly URL; you still need to change the links your site outputs.
Is a rewrite the same as a redirect?
No. A rewrite happens inside the server and the address bar keeps the friendly URL. A redirect sends the browser to a new address.
Practical guides
-
How to Use URL Rewrite Generator
Turn dynamic URLs like product.php?id=12 into SEO-friendly URLs such as /product/12 and generate the Apache mod_rewrite rule that serves them.
Report an issue
Something broken or not quite right? Tell us and we will look into it.