URL - URL Rewrite

> (World Wide) Web - (W3|WWW) > (Web|Internet) - Resource

1 - About

url rewrite is the rewrite of the URL based on condition (generally via a regular-expression parser) to reroute requested URLs on the fly.

The URL manipulations/matching can depend on various tests of:

  • server variables,
  • environment variables,
  • HTTP headers,
  • time stamps,
  • and even external database lookups.

3 - Example

  • Canonical URL rewriting
# URL in the browser
# URL after rewrite