# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ((.*iPhone.*)|(.*iPod.*)|(.*iPad.*)|(.*BlackBerry.*)|(.*Android.*Mobile.*)|(.*Windows\ CE.*)|(.*IEMobile.*)|(.*Opera\ Mini.*)|(.*Opera\ Mobi.*))
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif|png|css|js|txt|ico|pdf|bmp|tif|mp3|wav|wma|asf|mp4|flv|mpg|avi|csv|doc|docx|xls|xlsx|ppt|pptx|zip|rar|tar|gz|dmg|iso)$ [NC]
RewriteCond %{HTTP_REFERER} !^http://stroyartel-kazan\.ru(/)?
RewriteCond %{QUERY_STRING} !no_redirect=true [NC]
RewriteRule ^(.*)$ http://m.stroyartel-kazan.ru/$1 [L,R=302]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^cat/cottages(.*)$ /catalog/cottages/ [L,R=301]
RewriteRule ^cat/houses(.*)$ /catalog/dachi/ [L,R=301]
RewriteRule ^cat/buildings(.*)$ /catalog/buildings/ [L,R=301]
RewriteRule ^cat/bath(.*)$ /catalog/bani/ [L,R=301]
RewriteRule ^play-complex(.*)$ /catalog/childish/ [L,R=301]
RewriteRule ^bul(.*)$ /catalog/childish/ [L,R=301]
RewriteRule ^karkasnye-doma.html /catalog/ [L,R=301]
RewriteRule ^cat/ /catalog/ [L,R=301]
RewriteRule ^about/ /front/about-us/ [L,R=301]
RewriteRule ^service.html /services/ [L,R=301]
RewriteRule ^brus.html /catalog/cottages/dvoynoy/ [L,R=301]
RewriteRule ^production.html /catalog/cottages/ [L,R=301]
RewriteRule ^nanocork-types.html /nanocork/vidy-materialov/ [L,R=301]
RewriteRule ^nanocork-price.html /nanocork/tseny/ [L,R=301]
RewriteRule ^complete/ /our-work/ [L,R=301]
RewriteRule ^stock.html /akcii/ [L,R=301]
RewriteRule ^reviews/ /otzyvy/ [L,R=301]
RewriteRule ^arbolit.html /catalog/ [L,R=301]
RewriteRule ^news(.*)$ / [L,R=301]
RewriteRule ^nanocork-sealant.html /nanocork/germetik-nanocork/ [L,R=301]
RewriteRule ^our/ /our-work/ [L,R=301]
RewriteRule ^ressy-cat.html /ressi/catalog/ [L,R=301]
RewriteRule ^ressy-example.html /ressi/calculation/ [L,R=301]
RewriteRule ^ressy-principeofworking.html /ressi/rule/ [L,R=301]
RewriteRule ^ressy-product.html /ressi/ [L,R=301]
RewriteRule ^doma-iz-kleenogo-brusa.html /staty/dom-iz-kleenogo-brusa/ [L,R=301]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<Files beget,info>
order allow,deny
deny from all
</Files>