Answer the question
In order to leave comments, you need to log in
How to set up urlrewrite.php?
I'm trying to enter it like this:
array(
"CONDITION" => "#^/blog/([^.]+)/([^.]+)/\\??(.*)?#",
"RULE" => "SECTION_CODE=\$1&ELEMENT_CODE=\$2",
"ID" => "",
"PATH" => "/blog/index.php",
)
Answer the question
In order to leave comments, you need to log in
1. You don't need to escape $1
2. What it finds on the /blog/index.php page, if it's a standard component, then there may be a problem in it.
3. Are there any other rules above that may work earlier.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question