How to control the way Apache serves your site using .htaccess rules, covering user-friendly URLs, redirects for moved pages and sites, and blocking IP addresses. The examples use Apache 2.4 syntax, which is the version Noiz hosting runs.

Articles

How to Create User-Friendly URLs Using .htaccess

A user-friendly URL (sometimes called a clean, pretty, or search-engine-friendly URL) is a short,...

How to Create a User-Friendly URL Using htaccess

A long, folder-heavy web address such as example.com/files/folder/sitemap.html is hard to...

How to Redirect a Page or Website Using .htaccess

When a page moves or a whole site changes address, a redirect sends visitors (and search engines)...

How to Redirect a Page to Another Page or Website Using .htaccess

When a page on your website moves or is retired, sending visitors and search engines to the...

How to Block an IP Address Using .htaccess

An .htaccess file lets you block a single IP address, a range of addresses, or an entire network...