RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    # Redirect from /blog/post/ to /blog/ dynamically
    RewriteRule ^blog/post/(.*)$ /blog/$1 [R=301,L]
    RewriteRule ^index\.html$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.html [L]
    Redirect 301 /uslugi.html http://www.donart.bg/uslugi
    Redirect 301 /za-nas.html http://www.donart.bg/za-nas
    Redirect 301 /zapitvane.php http://www.donart.bg/zapitvane
    Redirect 301 /poruchka.php http://www.donart.bg/porachka
    Redirect 301 /uslugi/faq-n-washing.html http://www.donart.bg/himichesko-chistene
    Redirect 301 /uslugi/boiadisvane-na-drehi.html http://www.donart.bg/boqdisvane-na-drehi
    Redirect 301 /uslugi/prane-na-drehi.html http://www.donart.bg/prane
    Redirect 301 /uslugi/popravka-na-drehi.html http://www.donart.bg/popravka-na-drehi
    Redirect 301 /uslugi/dostavka-na-miasto.html http://www.donart.bg/dostavka
    Redirect 301 /saveti/16-boiadisvane-na-kojeni-izdelia.html http://www.donart.bg/boqdisvane-na-kojeni-izdeliq
    Redirect 301 /saveti/15-boiadisvane-na-pamuchni-oblekla.html http://www.donart.bg/boqdisvane-na-pamuchni-izdeliq

    Redirect 301 /услуги http://www.donart.bg/uslugi
    Redirect 301 /за-нас http://www.donart.bg/za-nas
    Redirect 301 /запитване http://www.donart.bg/zapitvane
    Redirect 301 /поръчка http://www.donart.bg/porachka
    Redirect 301 /химическо-чистене http://www.donart.bg/himichesko-chistene
    Redirect 301 /боядисване-на-дрехи http://www.donart.bg/boqdisvane-na-drehi
    Redirect 301 /пране http://www.donart.bg/prane
    Redirect 301 /поправка-на-дрехи http://www.donart.bg/popravka-na-drehi
    Redirect 301 /доставка http://www.donart.bg/dostavka
    Redirect 301 /боядисване-на-кожени-изделия http://www.donart.bg/boqdisvane-na-kojeni-izdeliq
    Redirect 301 /боядисване-на-памучни-изделия http://www.donart.bg/boqdisvane-na-pamuchni-izdeliq
 </IfModule>
 <IfModule mod_deflate.c>
     AddOutputFilterByType DEFLATE text/plain
     AddOutputFilterByType DEFLATE text/html
     AddOutputFilterByType DEFLATE text/xml
     AddOutputFilterByType DEFLATE text/css
     AddOutputFilterByType DEFLATE application/xml
     AddOutputFilterByType DEFLATE application/xhtml+xml
     AddOutputFilterByType DEFLATE application/rss+xml
     AddOutputFilterByType DEFLATE application/javascript
     AddOutputFilterByType DEFLATE application/x-javascript
 </IfModule>
