Website Management Tools
URL Rewriting Tool
Addresses such as product.php?id=12&cat=shoes are harder to read and share than /product/12/shoes/. Enter a dynamic address, pick a style and the tool writes the friendly address and the server rule that maps it back to your script. It tests its own rule against your values before showing it, and it never sends your address anywhere.
How to use it
- Enter a dynamic address that has a query string.
- Choose folders, folders with parameter names, or hyphens.
- Copy the Apache or Nginx rule, add it on a test copy of the site first, then link to the friendly address.
Example
/product.php?id=12&cat=shoes becomes /product/12/shoes/ with the rule RewriteRule ^product/([^/]+)/([^/]+)/?$ product.php?id=$1&cat=$2 [L,QSA].
Choosing a style
The tool turns a dynamic address into a readable path style and gives you the rewrite rule. Folders with parameter names keep more meaning in the path; shorter folder-only forms are neater but rely on a fixed order. Pick the style that matches how your application reads the address.
Before you use the rule
- Back up your server configuration and test on a staging copy first.
- Redirect the old dynamic addresses to the new ones with a 301 so existing links and rankings carry over; test with the redirect checker.
- Update internal links and the sitemap to the new addresses.
Questions
Does this change my site?
No. It only writes the rule text. You add it to your server configuration, and your pages must link to the friendly address for it to matter for visitors and search engines.
Will the old address still work?
Yes, unless you redirect it. To avoid duplicate pages, add a canonical tag pointing to the friendly address or a 301 redirect from the old one.
Why is my address refused?
Parameter names and the path may only contain letters, numbers, dashes, dots and underscores, and values cannot contain slashes, so that no unsafe text is placed into a server rule.
Get practical SEO tips by email
Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.
