RewriteEngine On RewriteBase / Options +FollowSymlinks Options -Indexes RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$ RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ %{REQUEST_SCHEME}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)$ RewriteCond %{REQUEST_URI} !^/admin(/|$) [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !/$ RewriteRule ^(.+)$ %{REQUEST_SCHEME}://%{HTTP_HOST}/$1/ [L,R=301] ErrorDocument 404 /404.html RewriteCond %{REQUEST_URI} !^(.*)/libraries/(.*) [NC] RewriteCond %{REQUEST_URI} !^(.*)/css/(.*) [NC] RewriteRule ^admin/([^/]*)/([^/]*)/(.*)$ admin/index.php?module=$1&action=$2&$3 [L] RewriteRule ^admin/$ admin/index.php [L] RewriteRule ^wyszukiwarka(|/)$ index.php?search=true&lang=pl [L] RewriteRule ^wersja-tymczasowa(|/)$ index.php?devel=true&lang=pl [L] RewriteRule ^pixieset/(.*)$ index.php?module=articles&action=image&hash=$1 [L] RewriteRule ^pixieset-wszystkie/(.*)$ index.php?module=articles&action=images_download&hash=$1 [L] RewriteRule ^audyt-seo/wynik(|/)$ index.php?module=auditSEO&action=main_view&%{QUERY_STRING} [L] RewriteCond %{REQUEST_URI} ^/auditSEO/(.*) [NC] RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.php RewriteRule ^ /%1 [R=301,L] AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript ExpiresActive on ExpiresDefault "access plus 1 year" ExpiresByType text/css "access plus 1 year" ExpiresByType application/json "access plus 0 seconds" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType text/xml "access plus 0 seconds" ExpiresByType image/x-icon "access plus 1 week" ExpiresByType text/x-component "access plus 1 year" ExpiresByType text/html "access plus 0 seconds" ExpiresByType application/javascript "access plus 1 year" ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" ExpiresByType text/cache-manifest "access plus 0 seconds" ExpiresByType audio/ogg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType video/mp4 "access plus 1 year" ExpiresByType video/ogg "access plus 1 year" ExpiresByType video/webm "access plus 1 year" ExpiresByType application/atom+xml "access plus 1 hour" ExpiresByType application/rss+xml "access plus 1 hour" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" Order Deny,Allow Deny from all Order Deny,Allow Deny from all Order Deny,Allow Deny from all RewriteRule ^pl/$ index.php?a=change_language&id=pl [L] RewriteRule ^en/$ index.php?a=change_language&id=en [L] RewriteRule ^$ index.php?a=page&id=40&lang=pl&%{QUERY_STRING} [L] RewriteCond %{REQUEST_URI} ^/home(|/)$ RewriteRule ^(.*)$ https://www.cmspro.project-dc.pl/ [R=301,L] RewriteCond %{REQUEST_URI} ^/home/s/1$ RewriteRule ^(.*)$ https://www.cmspro.project-dc.pl/ [R=301,L] RewriteCond %{REQUEST_URI} "^/$" RewriteRule ^$ index.php?a=page&id=40&lang=pl [L] RewriteRule ^home(|/)$ index.php?a=page&id=40&lang=pl&%{QUERY_STRING} [L] RewriteRule ^home/s/1(|/)$ home [R=301,L] RewriteRule ^home/s/([0-9]+)(|/)$ index.php?a=page&id=40&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^zdrowie(|/)$ index.php?a=page&id=41&lang=pl&%{QUERY_STRING} [L] RewriteRule ^zdrowie/s/1(|/)$ zdrowie [R=301,L] RewriteRule ^zdrowie/s/([0-9]+)(|/)$ index.php?a=page&id=41&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^inne(|/)$ index.php?a=page&id=50&lang=pl&%{QUERY_STRING} [L] RewriteRule ^inne/s/1(|/)$ inne [R=301,L] RewriteRule ^inne/s/([0-9]+)(|/)$ index.php?a=page&id=50&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^udar-mozgu-kluczowe-znaczenie-wczesnej-diagnostyki-i-interwencji-medycznej-1(|/)$ index.php?article=22&lang=pl&%{QUERY_STRING} [L] RewriteRule ^en/home(|/)$ index.php?a=page&id=40&lang=en&%{QUERY_STRING} [L] RewriteRule ^en/home/s/1(|/)$ en/home [R=301,L] RewriteRule ^en/home/s/([0-9]+)(|/)$ index.php?a=page&id=40&lang=en&bs=$1&%{QUERY_STRING} [L] RewriteCond %{QUERY_STRING} !="" RewriteRule tag/tag1(|/) %{REQUEST_URI}? [R=301,L] RewriteRule ^tag/tag1(|/)$ index.php?tag=1 [L] RewriteCond %{QUERY_STRING} !="" RewriteRule tag/tag2(|/) %{REQUEST_URI}? [R=301,L] RewriteRule ^tag/tag2(|/)$ index.php?tag=2 [L] RewriteRule ^oferty-pracy(|/)$ index.php?module=globelusAdverts&action=adverts_list&cp=1&%{QUERY_STRING} [L] RewriteRule ^newsletter/signin$ index.php?module=newsletter&action=signin [L] RewriteRule ^newsletter/confirm/hash=(.*)$ index.php?module=newsletter&action=confirm&hash=$1 [L] RewriteRule ^newsletter/unsubscribe/hash=(.*)$ index.php?module=newsletter&action=unsubscribe&hash=$1 [L]