diff --git a/.htaccess b/.htaccess index f60897e..8301c3e 100644 --- a/.htaccess +++ b/.htaccess @@ -20,101 +20,124 @@ RewriteRule ^(.*)$ http://extremstyle.ua/$1 [R=301,L] #RewriteRule ^catalogs\/?$ http://extremstyle.ua/ [R=301,L] -RewriteRule ^(ukr)\/(.*)-catalogs\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&%{QUERY_STRING} -RewriteRule ^(ukr)\/(.*)-catalogs\/(^filter+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&productID=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/(^filter+)\/?$ index.php?action=catalogs&rubID=$1&productID=$2&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/(.*)-catalogs\/(^filter+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&productID=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/(^filter+)\/?$ index.php?action=catalogs&rubID=$1&productID=$2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/?$ index.php?lang=$1&%{QUERY_STRING} + +RewriteRule ^(ukr)\/?$ index.php?lang=$1&%{QUERY_STRING} [L] RewriteRule ^(ukr)\/(.*)-catalogs\/?$ index.php?lang=$1&action=catalogs&rubID=$2&%{QUERY_STRING} [NC,L] -RewriteRule ^(.*)-catalogs\/?$ index.php?action=catalogs&rubID=$1&%{QUERY_STRING} [NC,L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/?$ index.php?action=catalogs&rubID=$1&%{QUERY_STRING} [NC,L] RewriteRule ^(ukr)\/(.*)-catalogs\/new\/?$ index.php?lang=$1&action=catalogs&rubID=$2&new=1&%{QUERY_STRING} [NC,L] -RewriteRule ^(.*)-catalogs\/new\/?$ index.php?action=catalogs&rubID=$1&new=1&%{QUERY_STRING} [NC,L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/new\/?$ index.php?action=catalogs&rubID=$1&new=1&%{QUERY_STRING} [NC,L] RewriteRule ^(ukr)\/(.*)-catalogs\/new\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&new=1&page=$3&%{QUERY_STRING} [NC,L] -RewriteRule ^(.*)-catalogs\/new\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&new=1&page=$2&%{QUERY_STRING} [NC,L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/new\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&new=1&page=$2&%{QUERY_STRING} [NC,L] -RewriteRule ^(ukr)\/(.*)-catalogs\/new\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&new=1&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/new\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&new=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/new\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&new=1&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/new\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&new=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/new\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&new=1&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/new\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&new=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/new\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&new=1&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/new\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&new=1&%{QUERY_STRING} [L] RewriteRule ^(ukr)\/(.*)-catalogs\/top\/?$ index.php?lang=$1&action=catalogs&rubID=$2&top=1&%{QUERY_STRING} [NC,L] -RewriteRule ^(.*)-catalogs\/top\/?$ index.php?action=catalogs&rubID=$1&top=1&%{QUERY_STRING} [NC,L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/top\/?$ index.php?action=catalogs&rubID=$1&top=1&%{QUERY_STRING} [NC,L] -RewriteRule ^(ukr)\/(.*)-catalogs\/top\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&top=1&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/top\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&top=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/top\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&top=1&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/top\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&top=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/top\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&top=1&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/top\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&top=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/top\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&top=1&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/top\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&top=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/akcii\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&akciiID=1&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/akcii\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&akciiID=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/akcii\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&akciiID=1&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/akcii\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&akciiID=1&%{QUERY_STRING} [L] RewriteRule ^(ukr)\/(.*)-catalogs\/akcii\/?$ index.php?lang=$1&action=catalogs&rubID=$2&akciiID=1&%{QUERY_STRING} [NC,L] -RewriteRule ^(.*)-catalogs\/akcii\/?$ index.php?action=catalogs&rubID=$1&akciiID=1&%{QUERY_STRING} [NC,L] - -RewriteRule ^(ukr)\/(.*)-catalogs\/akcii\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&akciiID=1&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/akcii\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&akciiID=1&%{QUERY_STRING} +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/akcii\/?$ index.php?action=catalogs&rubID=$1&akciiID=1&%{QUERY_STRING} [NC,L] -RewriteRule ^(ukr)\/akcii\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&akciiID=1&%{QUERY_STRING} -RewriteRule ^akcii\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&akciiID=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/akcii\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&page=$4&akciiID=1&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/akcii\/filter;(.*)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&page=$3&akciiID=1&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/akcii\/filter;(.*)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&dataFilter=$3&akciiID=1&%{QUERY_STRING} [L] +RewriteRule ^akcii\/filter;(.*)\/?$ index.php?action=catalogs&rubID=$1&dataFilter=$2&akciiID=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/catalogs\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&page=$2&%{QUERY_STRING} -RewriteRule ^catalogs\/page_([0-9]+).html\/?$ index.php?action=catalogs&page=$1&%{QUERY_STRING} -RewriteRule ^(ukr)\/(.*)-catalogs\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&page=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&page=$2&%{QUERY_STRING} +RewriteRule ^(ukr)\/catalogs\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&page=$2&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/page_([0-9]+).html\/?$ index.php?action=catalogs&page=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/f([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&filterID=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/f([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&filterID=$2&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&rubID=$2&page=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&page=$2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/y([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&yearID=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/y([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&yearID=$2&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/f([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&filterID=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/f([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&filterID=$2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/sex([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&sex=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/sex([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&sex=$2&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/y([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&yearID=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/y([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&yearID=$2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/([0-9]+)\/?$ index.php?lang=$1&action=catalogs&parent_rubID=$3&rubID=$2&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/sex([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&sex=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/sex([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&sex=$2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/collections\/([0-9]+)\/?$ index.php?lang=$1&action=catalogs&modAction=collections&parent_rubID=$3&rubID=$2&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/collections\/([0-9]+)\/?$ index.php?action=catalogs&modAction=collections&parent_rubID=$2&rubID=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/([0-9]+)\/?$ index.php?lang=$1&action=catalogs&parent_rubID=$3&rubID=$2&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/([0-9]+)\/product_([0-9]+)\/?$ index.php?lang=$1&action=catalogs&parent_rubID=$3&rubID=$2&productID=$4&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/([0-9]+)\/product_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&productID=$3&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/collections\/([0-9]+)\/?$ index.php?lang=$1&action=catalogs&modAction=collections&parent_rubID=$3&rubID=$2&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/collections\/([0-9]+)\/?$ index.php?action=catalogs&modAction=collections&parent_rubID=$2&rubID=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/([0-9]+)\/collection_([0-9]+)\/?$ index.php?lang=$1&action=catalogs&parent_rubID=$3&rubID=$2&collectionID=$4&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/([0-9]+)\/collection_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&collectionID=$3&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/([0-9]+)\/product_([0-9]+)\/?$ index.php?lang=$1&action=catalogs&parent_rubID=$3&rubID=$2&productID=$4&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/([0-9]+)\/product_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&productID=$3&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/(.*)-catalogs\/(.*)-([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&productID2=$4&productID=$3&%{QUERY_STRING} -RewriteRule ^(.*)-catalogs\/(.*)-([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&productID2=$3&productID=$2&%{QUERY_STRING} +RewriteRule ^(ukr)\/(.*)-catalogs\/([0-9]+)\/collection_([0-9]+)\/?$ index.php?lang=$1&action=catalogs&parent_rubID=$3&rubID=$2&collectionID=$4&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/([0-9]+)\/collection_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&collectionID=$3&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/(.*)-catalogs\/(.*)-([0-9]+)\/?$ index.php?lang=$1&action=catalogs&rubID=$2&productID2=$4&productID=$3&%{QUERY_STRING} [L] +RewriteCond %{REQUEST_URI} !^ukr +RewriteRule (.*)-catalogs\/(.*)-([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&productID2=$3&productID=$2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/catalogs\/brends\/?$ index.php?lang=$1&action=catalogs&modAction=brends&%{QUERY_STRING} -RewriteRule ^(ukr)\/catalogs\/brend([0-9]+)\/?$ index.php?lang=$1&action=catalogs&brendID=$2%{QUERY_STRING} -RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/?$ index.php?lang=$1&action=catalogs&modAction=brends&brend=$2&b=1&%{QUERY_STRING} -RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/history\/?$ index.php?lang=$1&action=catalogs&modAction=brends&brend=$2&b=1&history=1&%{QUERY_STRING} -RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/teh\/?$ index.php?lang=$1&action=catalogs&modAction=brends&brend=$2&b=1&teh=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/catalogs\/brends\/?$ index.php?lang=$1&action=catalogs&modAction=brends&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/catalogs\/brend([0-9]+)\/?$ index.php?lang=$1&action=catalogs&brendID=$2%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/?$ index.php?lang=$1&action=catalogs&modAction=brends&brend=$2&b=1&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/history\/?$ index.php?lang=$1&action=catalogs&modAction=brends&brend=$2&b=1&history=1&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/teh\/?$ index.php?lang=$1&action=catalogs&modAction=brends&brend=$2&b=1&teh=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/products\/?$ index.php?lang=$1&action=catalogs&brend=$2&b=1&%{QUERY_STRING} -RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/products\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&brend=$2&b=1&page=$3&%{QUERY_STRING} +RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/products\/?$ index.php?lang=$1&action=catalogs&brend=$2&b=1&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/catalogs\/brends\/([^\/\.]+)\/products\/page_([0-9]+).html\/?$ index.php?lang=$1&action=catalogs&brend=$2&b=1&page=$3&%{QUERY_STRING} [L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /catalog\/index\.php\?SID=1&IBLOCK_ID=30&SECTION_ID=158\ HTTP/ @@ -173,106 +196,106 @@ RewriteRule ^catalog\/index\.php$ http://%{HTTP_HOST}/catalogs/13542/? [R=301,L] #RewriteRule ^akcii\/?$ index.php?action=catalogs&akcii=1&sort=cine&%{QUERY_STRING} -RewriteRule ^(ukr)\/payment\/?$ index.php?lang=$1&action=payment&tpl=2&%{QUERY_STRING} -RewriteRule ^payment\/?$ index.php?action=payment&tpl=2&%{QUERY_STRING} +RewriteRule ^(ukr)\/payment\/?$ index.php?lang=$1&action=payment&tpl=2&%{QUERY_STRING} [L] +RewriteRule ^payment\/?$ index.php?action=payment&tpl=2&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/payment\/([0-9]+)\/?$ index.php?lang=$1&action=payment&id=$2&tpl=2&navig=1&%{QUERY_STRING} -RewriteRule ^payment\/([0-9]+)\/?$ index.php?action=payment&id=$1&tpl=2&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/payment\/([0-9]+)\/?$ index.php?lang=$1&action=payment&id=$2&tpl=2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^payment\/([0-9]+)\/?$ index.php?action=payment&id=$1&tpl=2&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/sitemap-catalog-([0-9]+)\/?$ index.php?lang=$1&action=sitemap&modAction=catalog&catID=$2&%{QUERY_STRING} -RewriteRule ^sitemap-catalog-([0-9]+)\/?$ index.php?action=sitemap&modAction=catalog&catID=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/sitemap-catalog-([0-9]+)\/?$ index.php?lang=$1&action=sitemap&modAction=catalog&catID=$2&%{QUERY_STRING} [L] +RewriteRule ^sitemap-catalog-([0-9]+)\/?$ index.php?action=sitemap&modAction=catalog&catID=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/sitemap-news\/?$ index.php?lang=$1&action=sitemap&modAction=news&%{QUERY_STRING} -RewriteRule ^sitemap-news\/?$ index.php?action=sitemap&modAction=news&%{QUERY_STRING} +RewriteRule ^(ukr)\/sitemap-news\/?$ index.php?lang=$1&action=sitemap&modAction=news&%{QUERY_STRING} [L] +RewriteRule ^sitemap-news\/?$ index.php?action=sitemap&modAction=news&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/sitemap-articles\/?$ index.php?lang=$1&action=sitemap&modAction=articles&%{QUERY_STRING} -RewriteRule ^sitemap-articles\/?$ index.php?action=sitemap&modAction=articles&%{QUERY_STRING} +RewriteRule ^(ukr)\/sitemap-articles\/?$ index.php?lang=$1&action=sitemap&modAction=articles&%{QUERY_STRING} [L] +RewriteRule ^sitemap-articles\/?$ index.php?action=sitemap&modAction=articles&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/([^\/\.]+)\/?$ index.php?lang=$1&action=$2&navig=1&%{QUERY_STRING} -RewriteRule ^([^\/\.]+)\/?$ index.php?action=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/([^\/\.]+)\/?$ index.php?lang=$1&action=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^([^\/\.]+)\/?$ index.php?action=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^question\/add\/?$ index.php?action=question&add&%{QUERY_STRING} -RewriteRule ^question\/([0-9]+)\/?$ index.php?action=question&id=$1&%{QUERY_STRING} +RewriteRule ^question\/add\/?$ index.php?action=question&add&%{QUERY_STRING} [L] +RewriteRule ^question\/([0-9]+)\/?$ index.php?action=question&id=$1&%{QUERY_STRING} [L] RewriteRule ^catalogs\/([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&%{QUERY_STRING} [NC,L] -RewriteRule ^catalogs\/page_([0-9]+).html\/?$ index.php?action=catalogs&page=$1&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&page=$2&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/f([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&filterID=$2&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/y([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&yearID=$2&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/sex([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&sex=$2&%{QUERY_STRING} -RewriteRule ^(ukr|ru)\/catalogs\/basket\/?$ index.php?lang=$1&action=catalogs&modAction=basket&%{QUERY_STRING} -RewriteRule ^catalogs\/basket\/?$ index.php?action=catalogs&modAction=basket&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&%{QUERY_STRING} -RewriteRule ^catalogs\/collections\/([0-9]+)\/([0-9]+)\/?$ index.php?action=catalogs&modAction=collections&parent_rubID=$2&rubID=$1&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/([0-9]+)\/product_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&productID=$3&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/([0-9]+)\/collection_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&collectionID=$3&%{QUERY_STRING} -RewriteRule ^catalogs\/([0-9]+)\/t([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&productID=$2&%{QUERY_STRING} -RewriteRule ^catalogs\/reg\/?$ index.php?action=catalogs&modAction=reg&%{QUERY_STRING} -RewriteRule ^catalogs\/user_edit\/?$ index.php?action=catalogs&modAction=user_edit&%{QUERY_STRING} -RewriteRule ^catalogs\/nopsw\/?$ index.php?action=catalogs&modAction=nopsw&%{QUERY_STRING} -RewriteRule ^catalogs\/producers\/?$ index.php?action=catalogs&modAction=producers&%{QUERY_STRING} -RewriteRule ^catalogs\/brends\/?$ index.php?action=catalogs&modAction=brends&%{QUERY_STRING} -RewriteRule ^catalogs\/brend([0-9]+)\/?$ index.php?action=catalogs&brendID=$1%{QUERY_STRING} -RewriteRule ^catalogs\/brends\/([^\/\.]+)\/?$ index.php?action=catalogs&modAction=brends&brend=$1&b=1&%{QUERY_STRING} -RewriteRule ^catalogs\/brends\/([^\/\.]+)\/history\/?$ index.php?action=catalogs&modAction=brends&brend=$1&b=1&history=1&%{QUERY_STRING} -RewriteRule ^catalogs\/brends\/([^\/\.]+)\/teh\/?$ index.php?action=catalogs&modAction=brends&brend=$1&b=1&teh=1&%{QUERY_STRING} +RewriteRule ^catalogs\/page_([0-9]+).html\/?$ index.php?action=catalogs&page=$1&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/page_([0-9]+).html\/?$ index.php?action=catalogs&rubID=$1&page=$2&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/f([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&filterID=$2&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/y([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&yearID=$2&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/sex([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&sex=$2&%{QUERY_STRING} [L] +RewriteRule ^(ukr|ru)\/catalogs\/basket\/?$ index.php?lang=$1&action=catalogs&modAction=basket&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/basket\/?$ index.php?action=catalogs&modAction=basket&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/collections\/([0-9]+)\/([0-9]+)\/?$ index.php?action=catalogs&modAction=collections&parent_rubID=$2&rubID=$1&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/([0-9]+)\/product_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&productID=$3&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/([0-9]+)\/collection_([0-9]+)\/?$ index.php?action=catalogs&parent_rubID=$2&rubID=$1&collectionID=$3&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/([0-9]+)\/t([0-9]+)\/?$ index.php?action=catalogs&rubID=$1&productID=$2&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/reg\/?$ index.php?action=catalogs&modAction=reg&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/user_edit\/?$ index.php?action=catalogs&modAction=user_edit&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/nopsw\/?$ index.php?action=catalogs&modAction=nopsw&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/producers\/?$ index.php?action=catalogs&modAction=producers&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/brends\/?$ index.php?action=catalogs&modAction=brends&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/brend([0-9]+)\/?$ index.php?action=catalogs&brendID=$1%{QUERY_STRING} [L] +RewriteRule ^catalogs\/brends\/([^\/\.]+)\/?$ index.php?action=catalogs&modAction=brends&brend=$1&b=1&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/brends\/([^\/\.]+)\/history\/?$ index.php?action=catalogs&modAction=brends&brend=$1&b=1&history=1&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/brends\/([^\/\.]+)\/teh\/?$ index.php?action=catalogs&modAction=brends&brend=$1&b=1&teh=1&%{QUERY_STRING} [L] -RewriteRule ^catalogs\/brends\/([^\/\.]+)\/products\/?$ index.php?action=catalogs&brend=$1&b=1&%{QUERY_STRING} -RewriteRule ^catalogs\/brends\/([^\/\.]+)\/products\/page_([0-9]+).html\/?$ index.php?action=catalogs&brend=$1&b=1&page=$2&%{QUERY_STRING} +RewriteRule ^catalogs\/brends\/([^\/\.]+)\/products\/?$ index.php?action=catalogs&brend=$1&b=1&%{QUERY_STRING} [L] +RewriteRule ^catalogs\/brends\/([^\/\.]+)\/products\/page_([0-9]+).html\/?$ index.php?action=catalogs&brend=$1&b=1&page=$2&%{QUERY_STRING} [L] -RewriteRule ^catalogs\/compare\/?$ index.php?action=catalogs&modAction=compare&%{QUERY_STRING} +RewriteRule ^catalogs\/compare\/?$ index.php?action=catalogs&modAction=compare&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/articles\/page_([0-9]+).html\/?$ index.php?lang=$1&action=articles&page=$2&%{QUERY_STRING} -RewriteRule ^articles\/page_([0-9]+).html\/?$ index.php?action=articles&page=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/articles\/page_([0-9]+).html\/?$ index.php?lang=$1&action=articles&page=$2&%{QUERY_STRING} [L] +RewriteRule ^articles\/page_([0-9]+).html\/?$ index.php?action=articles&page=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/articles\/([0-9]+)\/?$ index.php?lang=$1&action=articles&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^articles\/([0-9]+)\/?$ index.php?action=articles&id=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/articles\/([0-9]+)\/?$ index.php?lang=$1&action=articles&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^articles\/([0-9]+)\/?$ index.php?action=articles&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/articles\/([^\/\.]*)-([0-9]+)\/?$ index.php?lang=$1&action=articles&translit=$2&id=$3&navig=1&%{QUERY_STRING} -RewriteRule ^articles\/([^\/\.]+)-([0-9]+)\/?$ index.php?action=articles&translit=$1&id=$2&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/articles\/([^\/\.]*)-([0-9]+)\/?$ index.php?lang=$1&action=articles&translit=$2&id=$3&navig=1&%{QUERY_STRING} [L] +RewriteRule ^articles\/([^\/\.]+)-([0-9]+)\/?$ index.php?action=articles&translit=$1&id=$2&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/services\/page_([0-9]+).html\/?$ index.php?lang=$1&action=services&page=$2&%{QUERY_STRING} -RewriteRule ^services\/page_([0-9]+).html\/?$ index.php?action=services&page=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/services\/page_([0-9]+).html\/?$ index.php?lang=$1&action=services&page=$2&%{QUERY_STRING} [L] +RewriteRule ^services\/page_([0-9]+).html\/?$ index.php?action=services&page=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/services\/([0-9]+)\/?$ index.php?lang=$1&action=services&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^services\/([0-9]+)\/?$ index.php?action=services&id=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/services\/([0-9]+)\/?$ index.php?lang=$1&action=services&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^services\/([0-9]+)\/?$ index.php?action=services&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/news\/page_([0-9]+).html\/?$ index.php?lang=$1&action=news&page=$2&%{QUERY_STRING} -RewriteRule ^news\/page_([0-9]+).html\/?$ index.php?action=news&page=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/news\/page_([0-9]+).html\/?$ index.php?lang=$1&action=news&page=$2&%{QUERY_STRING} [L] +RewriteRule ^news\/page_([0-9]+).html\/?$ index.php?action=news&page=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/news\/([0-9]+)\/?$ index.php?lang=$1&action=news&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^news\/([0-9]+)\/?$ index.php?action=news&id=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/news\/([0-9]+)\/?$ index.php?lang=$1&action=news&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^news\/([0-9]+)\/?$ index.php?action=news&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/news\/([^\/\.]+)-([0-9]+)\/?$ index.php?lang=$1&action=news&translit=$2&id=$3&navig=1&%{QUERY_STRING} -RewriteRule ^news\/([^\/\.]+)-([0-9]+)\/?$ index.php?action=news&translit=$1&id=$2&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/news\/([^\/\.]+)-([0-9]+)\/?$ index.php?lang=$1&action=news&translit=$2&id=$3&navig=1&%{QUERY_STRING} [L] +RewriteRule ^news\/([^\/\.]+)-([0-9]+)\/?$ index.php?action=news&translit=$1&id=$2&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/training\/([0-9]+)\/?$ index.php?lang=$1&action=training&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^training\/([0-9]+)\/?$ index.php?action=training&id=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/training\/([0-9]+)\/?$ index.php?lang=$1&action=training&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^training\/([0-9]+)\/?$ index.php?action=training&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/training\/page_([0-9]+).html\/?$ index.php?lang=$1&action=training&page=$2&%{QUERY_STRING} -RewriteRule ^training\/page_([0-9]+).html\/?$ index.php?action=training&page=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/training\/page_([0-9]+).html\/?$ index.php?lang=$1&action=training&page=$2&%{QUERY_STRING} [L] +RewriteRule ^training\/page_([0-9]+).html\/?$ index.php?action=training&page=$1&%{QUERY_STRING} [L] -#RewriteRule ^akcii\/page_([0-9]+).html\/?$ index.php?action=catalogs&akcii=1&page=$1&%{QUERY_STRING} -RewriteRule ^(ukr)\/akcii\/([0-9]+)\/?$ index.php?lang=$1&action=akcii&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^akcii\/([0-9]+)\/?$ index.php?action=akcii&id=$1&navig=1&%{QUERY_STRING} +#RewriteRule ^akcii\/page_([0-9]+).html\/?$ index.php?action=catalogs&akcii=1&page=$1&%{QUERY_STRING} [L] +RewriteRule ^(ukr)\/akcii\/([0-9]+)\/?$ index.php?lang=$1&action=akcii&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^akcii\/([0-9]+)\/?$ index.php?action=akcii&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/reviews\/([0-9]+)\/?$ index.php?lang=$1&action=reviews&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^reviews\/([0-9]+)\/?$ index.php?action=reviews&id=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/reviews\/([0-9]+)\/?$ index.php?lang=$1&action=reviews&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^reviews\/([0-9]+)\/?$ index.php?action=reviews&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/video\/page_([0-9]+).html\/?$ index.php?lang=$1&action=video&page=$2&%{QUERY_STRING} -RewriteRule ^video\/page_([0-9]+).html\/?$ index.php?action=video&page=$1&%{QUERY_STRING} +RewriteRule ^(ukr)\/video\/page_([0-9]+).html\/?$ index.php?lang=$1&action=video&page=$2&%{QUERY_STRING} [L] +RewriteRule ^video\/page_([0-9]+).html\/?$ index.php?action=video&page=$1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/video\/([0-9]+)\/?$ index.php?lang=$1&action=video&id=$2&navig=1&%{QUERY_STRING} -RewriteRule ^video\/([0-9]+)\/?$ index.php?action=video&id=$1&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/video\/([0-9]+)\/?$ index.php?lang=$1&action=video&id=$2&navig=1&%{QUERY_STRING} [L] +RewriteRule ^video\/([0-9]+)\/?$ index.php?action=video&id=$1&navig=1&%{QUERY_STRING} [L] -RewriteRule ^(ukr)\/video\/([^\/\.]+)-([0-9]+)\/?$ index.php?lang=$1&action=video&translit=$2&id=$3&navig=1&%{QUERY_STRING} -RewriteRule ^video\/([^\/\.]+)-([0-9]+)\/?$ index.php?action=video&translit=$1&id=$2&navig=1&%{QUERY_STRING} +RewriteRule ^(ukr)\/video\/([^\/\.]+)-([0-9]+)\/?$ index.php?lang=$1&action=video&translit=$2&id=$3&navig=1&%{QUERY_STRING} [L] +RewriteRule ^video\/([^\/\.]+)-([0-9]+)\/?$ index.php?action=video&translit=$1&id=$2&navig=1&%{QUERY_STRING} [L] -RewriteRule ^forum\/page_([0-9]+).html\/?$ index.php?action=forum&page=$1&%{QUERY_STRING} +RewriteRule ^forum\/page_([0-9]+).html\/?$ index.php?action=forum&page=$1&%{QUERY_STRING} [L] -RewriteRule ^(uploaded\/pic\/catalogs\/products\/)a_(.+)$ img.php?prefix=a&src=$1$2 -RewriteRule ^(uploaded\/pic\/catalogs\/products\/)w_(.+)$ img.php?prefix=w&src=$1$2 +RewriteRule ^(uploaded\/pic\/catalogs\/products\/)a_(.+)$ img.php?prefix=a&src=$1$2 [L] +RewriteRule ^(uploaded\/pic\/catalogs\/products\/)w_(.+)$ img.php?prefix=w&src=$1$2 [L] RewriteRule ^ukr/account/active(.*)$ /index.php [L,QSA] RewriteRule ^ukr/account/panel(.*)$ /index.php [L,QSA] -- libgit2 0.21.4