( 5.1.8 , 5.1.8 ). , , .

(UrlRewrite) , , . , , , /fld/c.php :
     /fld/c.php?id=15
:
     /catalog/15.php

, , . , . .

" - ": /bitrix/admin/urlrewrite_list.php.
2.0, . , URL, .

( API), . API, , , FTP, ( ).

:

1. - 404, , Apache ErrorDocument .htaccess:
     ErrorDocument 404 /404.php
/404.php, :
    include_once( $_SERVER['DOCUMENT_ROOT']. '/bitrix/modules/main/include/urlrewrite.php' );

2. Apache mod_rewrite, (, .htaccess):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
</IfModule>

.

:

1. "" - " " - " "

2. " " :
   : #^/sef_test/#
   :
   : /index.php ( , )
   : .
.

3. /sef_test/
    , http://localhost/sef_test/test.html

, , .

, ID, , ID , , 234.html

: #^/news/([0-9]+)\.html(\?.*)?$
: /about/news/detail.php?ID=$1
.html .php

.html, :

: #^(.+)\.html(\?.*)?$#
: $1.php

, . , , . , .

, : about.html

: #^/about.html(\?.*)?$#
: /about/index.php
Партнер 6 Партнер 5 Партнер 4 Партнер 3 Партнер 2 Партнер 1