While all that @Corey Henderson said makes absolutely perfect sense. This does not correspond to 100% reality.
2 .htaccess( , , ):
RewriteEngine On
RewriteRule (.*) /index.php?u=$1 [L]
- index.php. [L] , . - , , [L] mod_rewrite ( ). , , (, Apache - 10 ). , 500 Server Error Apache error.log: " 10 - . " LimitInternalRecursion ", , . " LogLevel " debug ', .
, :
[R=301]- " " (
RewriteRule - -. - URL, .
- " xx".
, .. ( ), .
( , 1-2-3), ( ):
- /, , ( , /)
- , (,
www.) ( HTTPS) - , ( URL "nice" ). - , /
- ( ) " " / (. , # 1, )
- .
, URL-, 5-6 ( .htaccess PHP, + , WordPress, " " ( /folder , index.php)).
, , .
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
: , , " " - , .