# BEGIN WordPress # Direktive (redovi) između `BEGIN WordPress` i `END WordPress` su # dinamički generisani, i trebali bi ih mijenjati samo koristeći WordPress filtere. # Sve promijene direktiva između navedenih markera biti će prebrisane. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress # BEGIN WP-HUMMINGBIRD-GZIP # Direktive (redovi) između `BEGIN WP-HUMMINGBIRD-GZIP` i `END WP-HUMMINGBIRD-GZIP` su # dinamički generisani, i trebali bi ih mijenjati samo koristeći WordPress filtere. # Sve promijene direktiva između navedenih markera biti će prebrisane. SetOutputFilter DEFLATE SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding AddOutputFilterByType DEFLATE "application/atom+xml" \ "application/javascript" \ "application/json" \ "application/ld+json" \ "application/manifest+json" \ "application/rdf+xml" \ "application/rss+xml" \ "application/schema+json" \ "application/vnd.geo+json" \ "application/vnd.ms-fontobject" \ "application/x-font-ttf" \ "application/x-font-opentype" \ "application/x-font-truetype" \ "application/x-javascript" \ "application/x-web-app-manifest+json" \ "application/xhtml+xml" \ "application/xml" \ "font/eot" \ "font/opentype" \ "font/otf" \ "image/bmp" \ "image/svg+xml" \ "image/vnd.microsoft.icon" \ "image/x-icon" \ "text/cache-manifest" \ "text/css" \ "text/html" \ "text/javascript" \ "text/plain" \ "text/vcard" \ "text/vnd.rim.location.xloc" \ "text/vtt" \ "text/x-component" \ "text/x-cross-domain-policy" \ "text/xml" AddEncoding gzip svgz # END WP-HUMMINGBIRD-GZIP # BEGIN Enable Gzip Compression # Direktive (redovi) između `BEGIN Enable Gzip Compression` i `END Enable Gzip Compression` su # dinamički generisani, i trebali bi ih mijenjati samo koristeći WordPress filtere. # Sve promijene direktiva između navedenih markera biti će prebrisane. AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript # END Enable Gzip Compression # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php73” package as the default “PHP” programming language. AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml # php -- END cPanel-generated handler, do not edit