Apache’s `mod_rewrite` module lets you rewrite URLs in a cleaner fashion, translating human-readable paths into code-friendly query strings. It also lets you rewrite URLs based on conditions. In this tutorial, you’ll enable `mod_rewrite` and use `.htaccess` files to create a basic URL redirection, and then explore a couple of advanced use cases.
How To Rewrite URLs with mod_rewrite for Apache on Debian 10
How To Rewrite URLs with mod_rewrite for Apache on Debian 9
How To Rewrite URLs with mod_rewrite for Apache on Debian 8
How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 22.04
How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 20.04
How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 18.04
How To Rewrite URLs with mod_rewrite for Apache on Ubuntu 16.04
How To Set Up Mod_Rewrite