mod_rewrite Cheat Sheet by DaveChild
We've figured out what mod_rewrite variables look like so we can create rewrite rules and condition patterns based on the actual value. This cheatsheet is where we'll lay them all out for quick reference. This cheatsheet changed my life. Here the focus is on identifying mod_rewrite variables and defining the limits of the module by checking the mod_rewrite source code. Mod_Rewrite Variables Cheatsheet
HTTP Status Codes and .htaccess ErrorDocuments I was trying to find an official, authoritative list of HTTP Status Codes but I kept finding lists that weren't authoritative or complete. So I searched and found my answer in the Apache HTTP Server source code. Once I had the exact HTTP Status Codes and resulting Error Documents sent by Apache, I researched deeper into HTTP Status Codes by reading as many related RFC's as I could find, and several other software source codes were explored. This is the most authoritative list I know of, if you can do better leave a comment and I'll update it.
Mod_Rewrite Variables Cheatsheet Htaccess Rewrite for Redirecting Uppercase to Lowercase Post by AskApache | Apr 30, 2013 Want to redirect all links with any uppercase characters to lowercase using pure mod_rewrite within an .htaccess file? Sure why not! OR how to use RewriteMap and mod_speling for those with access to httpd.conf THE Ultimate Htaccess
.htaccess is a very ancient configuration file that controls the Web Server running your website, and is one of the most powerful configuration files you will ever come across. Htaccess has the ability to control access of the WWW's HyperText Transfer Protocol (HTTP) using Password Protection, 301 Redirects, rewrites, and much much more.
Here is even more information from the Ultimate Htaccess Part I. For now this is very rough and you will want to come back later to read it. Merging Notes ^ Ultimate Htaccess Part II
Le htaccess est un fichier de configuration de votre serveur, et celui-ci peut vous rendre énormément service pour les performances de votre site, sur l'expérience utilisateur et sur le référencement naturel. Mais c'est un peu le flou sur la manière de le configurer. Voici donc un guide pour coder votre fichier htaccess :
Dans la série des optimisation rapides à mettre en place pour accélérer le temps de chargement d’un site internet : la compression GZIP. La compression GZIP c’est quoi ? Un façon de compresser les fichiers servis par votre serveur, afin d’en diminuer le poids, et donc, le temps de chargement. Activer la compression GZIP pour optimiser le temps de chargement de votre site
Rewriterules - 10+ Mod_Rewrite Rules You Should Know Aug 18 2009 Mod_rewrite is an Apache-based rewrite engine for dynamically rewriting URLs. It’s built into Apache servers natively, though not enabled by default. It’s capable of functions beyond simple rewrites, though, some of which are included below. Turn Mod_Rewrite On