Доброго дня! Прошу гуру перевірити мій robots.txt та htaccess
User-agent: *
#Disallow: /*? #Disallow: /*& #Disallow: /*% #Disallow: /index.php #Disallow: /index.php? Allow: /catalog/view/javascript/*.js Allow: /catalog/view/javascript/*.css Allow: /catalog/view/theme/default/stylesheet/*.js Allow: /catalog/view/theme/default/stylesheet/*.css Allow: /catalog/view/theme/default/font/*.js Allow: /catalog/view/theme/default/font/*.css Allow: /catalog/view/javascript/bootstrap/*.js Allow: /catalog/view/javascript/bootstrap/*.css Allow: /catalog/view/javascript/jquery/ionrange/css/*.css Allow: /image/cache/data/ Allow: /*.js Allow: /*.css Allow: /*.jpg Allow: /*.gif Allow: /*.png Disallow: /admin Disallow: /cache Disallow: /niks Disallow: /catalog Disallow: /download Disallow: /export Disallow: /system Disallow: /index.php?route=account Disallow: /index.php?route=account/account Disallow: /index.php?route=account/address Disallow: /index.php?route=checkout/cart Disallow: /index.php?route=checkout/shipping Disallow: /index.php?route=account/simpleedit Disallow: /index.php?route=account/password Disallow: /index.php?route=account/order Disallow: /index.php?route=account/download Disallow: /index.php?route=common/home Disallow: /index.php?route=product/search&tag= Disallow: /index.php?route=product/product/captcha Disallow: /index.php?route=product/product*&manufacturer_id= Disallow: /index.php?route=product/search Disallow: /index.php?route=product/product&path=0&product_id= Disallow: /index.php?route=information/contact/captcha Disallow: /index.php?route=information/information&information_id= Disallow: /index.php?route=account/login Disallow: /index.php?route=product/manufacturer Disallow: /index.php?route=product/compare Disallow: /index.php?route=product/category Disallow: /*route=account Disallow: /*route=account/account Disallow: /*route=account/address Disallow: /*route=checkout/cart Disallow: /*route=checkout/shipping Disallow: /*route=account/simpleedit Disallow: /*route=account/password Disallow: /*route=account/order Disallow: /*route=account/download Disallow: /*route=common/home Disallow: /*route=product/search&tag= Disallow: /*route=product/product/captcha Disallow: /*route=product/product*&manufacturer_id= Disallow: /*route=product/search Disallow: /*route=information/contact/captcha Disallow: /*route=information/information&information_id= Disallow: /*route=account/login Disallow: /*?sort= Disallow: /*?sort Disallow: /*&sort= Disallow: /*?order= Disallow: /*?order Disallow: /*&order= Disallow: /*?limit= Disallow: /*&limit= Disallow: /*?filter_ocfilter= Disallow: /*&filter_ocfilter= Disallow: /*?filter_name= Disallow: /*&filter_name= Disallow: /*?filter_sub_category= Disallow: /*&filter_sub_category= Disallow: /*?filter_description= Disallow: /*&filter_description= Disallow: /*?tracking= Disallow: /*&tracking= Disallow: /*?manufacturer Disallow: /*?keyword Host: xn--c1adaaxtft0lxc.com.ua Sitemap: https://xn--c1adaaxtft0lxc.com.ua/sm/sitemap.xml
RewriteEngine on
RewriteOptions inherit AddDefaultCharset UTF-8 # 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 "\.(tpl|ini|log)"> Order deny,allow Deny from all </FilesMatch> RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # SEO URL Settings # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteEngine On RewriteCond %{HTTP_HOST} ^www.xn--c1adaaxtft0lxc.com.ua$ [NC] RewriteRule ^(.*)$ https://xn--c1adaaxtft0lxc.com.ua$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\ HTTP/ RewriteRule ^index\.html$ / [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ / [R=301,L] RewriteCond %{QUERY_STRING} ^route=common/home$ RewriteCond %{REQUEST_METHOD} !^POST$ RewriteRule ^index\.php$ / [R=301,L] #RewriteRule ^index\.php$ https://%{HTTP_HOST}? [R=301,L] RewriteEngine On RewriteBase / 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]