SecRuleEngine Off
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
# 2. In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
# Ниже перенаправлние при переходе на HTTPS со старого зеркала
RewriteCond %{ENV:HTTPS} !on
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Ниже перенаправлние c www на без www
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteBase /
RewriteRule ^aksessuary-dlya-plavaniya/trubka-frontalnaya(.*)$ aksessuary-dlya-plavaniya/trubki-frontalnie-dlya-plavaniya/$1 [L,R=301]
RewriteRule ^fitnes/espandery-dlya-domashnih-trenirovok/(.*)$ fitnes/espandery-i-trenazhery/$1
RewriteRule ^fitnes/kovriki-dlya-fitnesa(.*)$ fitnes/kovriki-dlya-jogi/$1 [L,R=301]
RewriteRule ^kovriki-dlya-fitnesa(.*)$ fitnes/kovriki-dlya-jogi/$1 [L,R=301]
RewriteRule ^fitnes/kovriki-dlya-jogi/chehol-kovrika-dlya-fitnesa(.*)$ fitnes/aksessuary-dlya-jogi/$1 [L,R=301]
RewriteRule ^fitnes/kovriki-dlya-jogi/kovriki-dlya-fitnesa-i-jogi(.*)$ fitnes/kovriki-dlya-jogi/$1 [L,R=301]
RewriteRule ^obuv-detskaya(.*)$ obuv-dlya-bassejna/obuv-dlya-bassejna-detskaya/$1 [L,R=301]
RewriteRule ^obuv-dlya-bassejna/obuv-detskaya(.*)$ obuv-dlya-bassejna/obuv-dlya-bassejna-detskaya/$1 [L,R=301]
RewriteRule ^obuv-dlya-bassejna/obuv-muzhskaya(.*)$ obuv-dlya-bassejna/obuv-dlya-bassejna-muzhskaya/$1 [L,R=301]
RewriteRule ^obuv-dlya-bassejna/obuv-zhenskaya(.*)$ obuv-dlya-bassejna/obuv-dlya-bassejna-zhenskaya/$1 [L,R=301]
RewriteRule ^obuv-muzhskaya(.*)$ obuv-dlya-bassejna/obuv-dlya-bassejna-muzhskaya/$1 [L,R=301]
RewriteRule ^obuv-zhenskaya(.*)$ obuv-dlya-bassejna/obuv-dlya-bassejna-zhenskaya/$1 [L,R=301]
RewriteRule ^plyazh-i-obuchenie/maski-dlya-plavaniya(.*)$ ochki-dlya-plavaniya/maski-i-trubki-dlya-dayvinga/$1 [L,R=301]
RewriteRule ^plyazh-i-obuchenie/podguzniki-dlya-bassejna(.*)$ plyazh-i-obuchenie/podguzniki-dlya-plavaniya/$1 [L,R=301]
RewriteRule ^plyazh-i-obuchenie/solncezaschitnyj-kostyum(.*)$ plyazh-i-obuchenie/kostyum-solncezaschitnyj/$1 [L,R=301]
RewriteRule ^podguzniki-dlya-bassejna(.*)$ plyazh-i-obuchenie/podguzniki-dlya-plavaniya/$1 [L,R=301]
RewriteRule ^sahab-gambol(.*)$ sahab/$1 [L,R=301]
RewriteRule ^fitnes/ganteli-dlya-fitnesa(.*)$ ganteli/$1 [L,R=301]
RewriteRule ^ganteli-dlya-fitnesa(.*)$ ganteli/$1 [L,R=301]
RewriteRule ^fitnes/kovriki-dlya-jogi/-i-jogi(.*)$ fitnes/kovriki-dlya-jogi/$1 [L,R=301]
RewriteRule ^lasty/korotkie(.*)$ lasty/lasty-korotkie/$1 [L,R=301]
RewriteRule ^ochki-dlya-plavaniya/maski-dlya-dayvinga(.*)$ ochki-dlya-plavaniya/maski-i-trubki-dlya-dayvinga/$1 [L,R=301]
RewriteRule ^fitnes/step-platforma(.*)$ fitnes/espandery-i-trenazhery/$1 [L,R=301]
RewriteRule ^espandery-dlya-domashnih-trenirovok(.*)$ fitnes/espandery-i-trenazhery/$1 [L,R=301]
RewriteRule ^step-platforma(.*)$ fitnes/espandery-i-trenazhery/$1 [L,R=301]
RewriteRule ^lasty-detskie-sof-te27373$ /lasty-detskie-sof-2737-3 [L,R=301]
RewriteRule ^maski-dlya-plavaniya(.*)$ ochki-dlya-plavaniya/maski-i-trubki-dlya-dayvinga/$1 [L,R=301]
RewriteRule ^maski-dlya-dayvinga(.*)$ ochki-dlya-plavaniya/maski-i-trubki-dlya-dayvinga/$1 [L,R=301]
RewriteRule ^lasty-dlya-bassejna-sof-te27371$ /lasty-dlya-bassejna-sof-2737-1 [L,R=301]
RewriteRule ^maski-dlya-dayvinga/maska-dlya-plavaniya-lsm22-sn11$ /maska-dlya-plavaniya-lsm22-sn11 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-17-44m-03$ /slancy-muzhskie-sahab-sh-29-44m-03 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-20-44m-03$ /slancy-muzhskie-sahab-sh-29-44m-03 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-17-44-m3$ /slancy-muzhskie-sahab-sh-29-44m-03 [L,R=301]
RewriteRule ^slancy-muzhskie-sh-17-44m-03$ /slancy-muzhskie-sahab-sh-29-44m-03 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-20-543mk-03$ /slancy-muzhskie-sahab-sh-21-543mk-03 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-20-543mk-02$ /slancy-muzhskie-sahab-sh-21-543mk-02 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-20-543mk-01$ /slancy-muzhskie-sahab-sh-21-543mk-01 [L,R=301]
RewriteRule ^slancy-muzhskie-sahab-sh-20-543mk-04$ /slancy-muzhskie-sahab-sh-21-543mk-04 [L,R=301]
RewriteRule ^kovrik-dlya-fitnesa-i-jogi-bf-ym01c-04$ /kovrik-dlya-fitnesa-i-jogi-bf-ym01-04 [L,R=301]
RewriteRule ^kovrik-dlya-gimnastiki-i-jogi-bf-001$ /kovrik-dlya-fitnesa-i-jogi-bf-001 [L,R=301]
RewriteRule ^kovrik-gimnasticheskij-kb-6505$ /kovrik-dlya-fitnesa-i-jogi-kb-6505 [L,R=301]
RewriteRule ^lasty-dlya-bassejna-sof-te27372$ /lasty-dlya-bassejna-sof-2737-2 [L,R=301]
RewriteRule ^koeplenie-dlya-espanderov-universalnoe-so-u04$ /kreplenie-dlya-espanderov-universalnoe-so-u04 [L,R=301]
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\ HTTPS/
RewriteRule ^index\.html$ / [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTPS/
RewriteRule ^index\.php$ / [R=301,L]
RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteRule ^index\.php$ https://%{HTTP_HOST}? [R=301,L]
# Ниже переадресация страниц на новые адреса после удаления дублей
### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off
# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off
# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M
# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M
# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200
# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200
# 7. disable open_basedir limitations
# php_admin_value open_basedir none