Добрый день!
Помогите пожалуйста разобраться с редиректом, необходимо что бы со страницы
http://www.*****.ru/catalog/1-50.html было перенаправление на
http://www.*****.ru/torgovoe_oborudovanie/...kozhgalanterei/в файле .htaccess прописано следующее:
####################### UMI_CMS_HTACCESS_BEGIN ###########################
RewriteEngine On
#To avoid manual css and js files recompile. Debug only.
#RewriteRule (commonClient\.js)|(compressed\.js)|(compiled\.js)|(compiled\.css)|(compressed\.css) developerTools/preCompile.php [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(sys\-temp|cache|xmldb|static|packages)\/.*$ /500/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^robots\.txt$ /sbots.php?path=$1%{QUERY_STRING} [L]
RewriteRule ^sitemap\.xml$ /sitemap.php [L]
RewriteRule ^config\.ini$ / [L,R]
RewriteRule ^install\.ini$ / [L,R]
RewriteRule ^install\.log$ / [L,R]
RewriteRule ^umi\.nginx\.conf$ / [L,R]
RewriteRule ^dbview\.php$ / [L,R]
RewriteCond %{REQUEST_URI} !^styles
RewriteCond %{REQUEST_URI} !^css
RewriteCond %{REQUEST_URI} !\.css
RewriteCond %{REQUEST_URI} !^js
RewriteCond %{REQUEST_URI} !\.js
RewriteCond %{REQUEST_URI} !^images
RewriteCond %{REQUEST_URI} !^webstat
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\.xml$ index.php?xmlMode=force&path=$1&%{QUERY_STRING} [L]
RewriteRule ^(udata|upage|uobject|ufs|usel|ulang|utype|umess|uhttp):?(\/\/)?(.*)$ releaseStreams.php?scheme=$1&path=$3?%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} !^styles
RewriteCond %{REQUEST_URI} !^css
RewriteCond %{REQUEST_URI} !\.css
RewriteCond %{REQUEST_URI} !^js
RewriteCond %{REQUEST_URI} !\.js
RewriteCond %{REQUEST_URI} !^images
RewriteCond %{REQUEST_URI} !(\.ico|\.ICO)$
RewriteCond %{REQUEST_URI} !(\.jpg|\.JPG)$
RewriteCond %{REQUEST_URI} !(\.jpeg|\.JPEG)$
RewriteCond %{REQUEST_URI} !(\.png|\.PNG)$
RewriteCond %{REQUEST_URI} !(\.gif|\.GIF)$
RewriteCond %{REQUEST_URI} !(\.css|\.CSS)$
RewriteCond %{REQUEST_URI} !(\.js|\.JS)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?path=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} (\.ico|\.ICO)$
RewriteCond %{REQUEST_URI} (\.jpg|\.JPG)$
RewriteCond %{REQUEST_URI} (\.jpeg|\.JPEG)$
RewriteCond %{REQUEST_URI} (\.png|\.PNG)$
RewriteCond %{REQUEST_URI} (\.gif|\.GIF)$
RewriteCond %{REQUEST_URI} (\.css|\.CSS)$
RewriteCond %{REQUEST_URI} (\.js|\.JS)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ [R=404]
<IfModule mod_mime.c>
AddType application/x-java-applet .class
AddType text/x-component .htc
</IfModule>
<IfModule mod_security.c>
SecFilterScanPOST Off
</IfModule>
<Files "whatsnew.txt">
Deny from all
</Files>
######################## UMI_CMS_HTACCESS_END ############################
Redirect 301 /catalog/1-42.html http://www.*****.ru/torgovoe_oborudovanie/zhenskaya_odezhda/
Redirect 301 /catalog/1-43.html http://www.*****.ru/torgovoe_oborudovanie/muzhskaya_odezhda/
Redirect 301 /catalog/1-49.html http://www.*****.ru/torgovoe_oborudovanie/molodezhnaya_i_dzhinsovaya_odezhda/
Redirect 301 /catalog/1-41.html http://www.*****.ru/torgovoe_oborudovanie/detskoj_odezhdy_i_igrushek/
Redirect 301 /catalog/1-44.html http://www.*****.ru/torgovoe_oborudovanie/sportivnyh_tovarov/
Redirect 301 /catalog/1-47.html http://www.*****.ru/torgovoe_oborudovanie/nizhnego_bel_ya/
Redirect 301 /catalog/1-50.html http://www.*****.ru/torgovoe_oborudovanie/obuvi_i_kozhgalanterei/
Redirect 301 /catalog/1-48.html http://www.*****.ru/torgovoe_oborudovanie/kosmetiki_i_parfyumerii/
Redirect 301 /catalog/1-45.html http://www.*****.ru/torgovoe_oborudovanie/podarkov_i_suvenirov/
Redirect 301 /catalog/1-52.html http://www.*****.ru/torgovoe_oborudovanie/bizhuterii/
Redirect 301 /catalog/1-55.html http://www.*****.ru/torgovoe_oborudovanie/posudy/
Redirect 301 /catalog/1-51.html http://www.*****.ru/torgovoe_oborudovanie/cvetov/
Redirect 301 /catalog/1-57.html http://www.*****.ru/torgovoe_oborudovanie/bytovoj_tehniki/
Redirect 301 /catalog/1-59.html http://www.*****.ru/torgovoe_oborudovanie/optiki/
Redirect 301 /catalog/1-60.html http://www.*****.ru/torgovoe_oborudovanie/sumok/
Перенаправление идет, но в конце добавляется вот такая штука
http://www.*****.ru/torgovoe_oborudovanie/zhenskaya_odezhda/?path=catalog/1-42.html , которая все портит
Подскажите пожалуйста что нужно поправить? Буду очень признателен
Сообщение отредактировал dim-dim - 29.1.2012, 17:45