Оформлю в текстовом виде для наглядности
.htaccess:[CODE]<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
# ASPRO_ROBOTS Serve robots.txt with robots.php only if the latter exists
RewriteCond %{REQUEST_FILENAME} robots.txt
RewriteCond %{DOCUMENT_ROOT}/robots.php -f
RewriteRule ^(.*)$ /robots.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>[/CODE]urlrewrite.php:[CODE] 24 =>
array (
'CONDITION' => '#/product/#',
'RULE' => '',
'ID' => 'bitrix:catalog',
'PATH' => '/product/index.php',
'SORT' => 100,
),
[/CODE]
.htaccess:[CODE]<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
# ASPRO_ROBOTS Serve robots.txt with robots.php only if the latter exists
RewriteCond %{REQUEST_FILENAME} robots.txt
RewriteCond %{DOCUMENT_ROOT}/robots.php -f
RewriteRule ^(.*)$ /robots.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>[/CODE]urlrewrite.php:[CODE] 24 =>
array (
'CONDITION' => '#/product/#',
'RULE' => '',
'ID' => 'bitrix:catalog',
'PATH' => '/product/index.php',
'SORT' => 100,
),
[/CODE]