Answer the question
In order to leave comments, you need to log in
Why doesn't URwrite work for a component?
In .htaccess
<IfModule mod_rewrite.c>
....
RewriteRule ^/calendar/([0-9]+)/([0-9]+)/$ ?year=$1&month=$2
</IfModule>
array(
"CONDITION" => "#^/calendar//calendar/([0-9]+)/([0-9]+)/#",
"RULE" => "YEAR=\$1&MONTH=\$2",
"ID" => "bitrix:news.calendar",
"PATH" => "/calendar/index.php",
),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question