<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{HTTPS} !=on
RewriteCond %{THE_REQUEST} ^GET
RewriteCond %{REQUEST_URI} !^/assets/
RewriteCond %{REQUEST_URI} !^/classes/
RewriteCond %{REQUEST_URI} !^/images/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_URI} !^/rest/
RewriteCond %{REQUEST_URI} !^/store/
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
RewriteRule ^sitemap\.xml$ /sitemap.xml.php [L]
RewriteRule ^robots\.txt$ /robots.txt.php [L]

RewriteRule ^/kontakto.htm$/  https://www.raytek.ch/kontakt/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^(.*)$ /index.php?ngq=/$1 [QSA,L]


RewriteRule ^/?infrarotcompactsensoren https://www.raytek.ch/pyrometer-strahlungsthermometer/infrarotcompactsensoren/ [R=301,L]

RewriteRule ^ueber-uns---events/$ https://www.raytek.ch/ueber-uns-events/ [R=301,L]
RewriteRule ^/?fluke572574/ https://www.raytek.ch/infrarothandmessgeraete/fluke572/ [R=301,L]

</IfModule>


#ÄNDERUNGEN 12-09-20