![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 158 Pomógł: 0 Dołączył: 10.08.2011 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
W pliku .htaccess mam następujący kod: Kod <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> RewriteEngine On RewriteCond %{HTTP_HOST} ^sternicy.com.pl$ RewriteRule ^(.*)$ http://www.sternicy.com.pl/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php Niestety po wykonaniu testu PageSpeed Insights dalej mam komunikat, aby włączyć kompresję. Czy to błąd w skrypcie, czy coś należy jeszcze dodać/poprawić? Ktoś pomoże? ![]() Ten post edytował senior.pol 26.03.2014, 19:22:50 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 14:47 |