- Redirecting with .htaccess
Here’s my second tutorial about .htaccess, the first one was about making your own custom 404-error page. This one is about redirecting with .htaccess. In this tutorial I’ll explain the benefits of using .htaccess to redirect, instead of PHP or Javascript and I’ll show some examples about how to use .htaccess redirects.
- How to make a custom 404 page
You can achieve a lot of things with a .htaccess-file. You can make your own custom 404-error pages, redirect pages, rewrite pages, block IP-adresses and more. In this first .htaccess tutorial, I will explain the custom error pages.