- # BEGIN WpFastestCache
- # Modified Time: 13-02-26 15:02:58
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteCond %{HTTPS} on
- RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
- # Start WPFC Exclude
- # End WPFC Exclude
- # Start_WPFC_Exclude_Admin_Cookie
- RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=kenez.imola|wo_admin
- # End_WPFC_Exclude_Admin_Cookie
- RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
- RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
- RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{REQUEST_URI} !(\/){2,}
- RewriteCond %{THE_REQUEST} !(\/){2,}
- RewriteCond %{REQUEST_URI} \/$
- RewriteCond %{QUERY_STRING} !.+ [OR]
- RewriteCond %{QUERY_STRING} fbclid=
- RewriteCond %{HTTP:Cookie} !comment_author_
- RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP_USER_AGENT} !^.*\bCrMo\b|CriOS|Android.*Chrome\/[.0-9]*\s(Mobile)?|\bDolfin\b|Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+|Skyfire|Mobile\sSafari\/[.0-9]*\sEdge|IEMobile|MSIEMobile|fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS|bolt|teashark|Blazer|Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari|Tizen|UC.*Browser|UCWEB|baiduboxapp|baidubrowser|DiigoBrowser|Puffin|\bMercury\b|Obigo|NF-Browser|NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger|Android.*PaleMoon|Mobile.*PaleMoon|Android|blackberry|\bBB10\b|rim\stablet\sos|PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino|Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b|Windows\sCE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window\sMobile|Windows\sPhone\s[0-9.]+|WCE;|Windows\sPhone\s10.0|Windows\sPhone\s8.1|Windows\sPhone\s8.0|Windows\sPhone\sOS|XBLWP7|ZuneWP7|Windows\sNT\s6\.[23]\;\sARM\;|\biPhone.*Mobile|\biPod|\biPad|Apple-iPhone7C2|MeeGo|Maemo|J2ME\/|\bMIDP\b|\bCLDC\b|webOS|hpwOS|\bBada\b|BREW.*$ [NC]
- RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
- RewriteCond /home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wp-content/cache/all/$1/index.html -f
- RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
- ##### mobile #####
- RewriteEngine On
- RewriteBase /
- RewriteCond %{HTTPS} on
- RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
- # Start WPFC Exclude
- # End WPFC Exclude
- # Start_WPFC_Exclude_Admin_Cookie
- RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=kenez.imola|wo_admin
- # End_WPFC_Exclude_Admin_Cookie
- RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
- RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
- RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{REQUEST_URI} !(\/){2,}
- RewriteCond %{THE_REQUEST} !(\/){2,}
- RewriteCond %{REQUEST_URI} \/$
- RewriteCond %{QUERY_STRING} !.+ [OR]
- RewriteCond %{QUERY_STRING} fbclid=
- RewriteCond %{HTTP:Cookie} !comment_author_
- RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP_USER_AGENT} ^.*\bCrMo\b|CriOS|Android.*Chrome\/[.0-9]*\s(Mobile)?|\bDolfin\b|Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+|Skyfire|Mobile\sSafari\/[.0-9]*\sEdge|IEMobile|MSIEMobile|fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS|bolt|teashark|Blazer|Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari|Tizen|UC.*Browser|UCWEB|baiduboxapp|baidubrowser|DiigoBrowser|Puffin|\bMercury\b|Obigo|NF-Browser|NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger|Android.*PaleMoon|Mobile.*PaleMoon|Android|blackberry|\bBB10\b|rim\stablet\sos|PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino|Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b|Windows\sCE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window\sMobile|Windows\sPhone\s[0-9.]+|WCE;|Windows\sPhone\s10.0|Windows\sPhone\s8.1|Windows\sPhone\s8.0|Windows\sPhone\sOS|XBLWP7|ZuneWP7|Windows\sNT\s6\.[23]\;\sARM\;|\biPhone.*Mobile|\biPod|\biPad|Apple-iPhone7C2|MeeGo|Maemo|J2ME\/|\bMIDP\b|\bCLDC\b|webOS|hpwOS|\bBada\b|BREW.*$ [NC]
- RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/wpfc-mobile-cache/$1/index.html -f [or]
- RewriteCond /home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wp-content/cache/wpfc-mobile-cache/$1/index.html -f
- RewriteRule ^(.*) "/wp-content/cache/wpfc-mobile-cache/$1/index.html" [L]
- ##### mobile #####
- </IfModule>
- <FilesMatch "index\.(html|htm)$">
- AddDefaultCharset UTF-8
- <ifModule mod_headers.c>
- FileETag None
- Header unset ETag
- Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
- Header set Pragma "no-cache"
- Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
- </ifModule>
- </FilesMatch>
- # END WpFastestCache
- # BEGIN LBCWpFastestCache
- <FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|avif|jpg|jpeg|png|gif|webp|js|css|swf|x-html|xml|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
- <IfModule mod_expires.c>
- AddType application/font-woff2 .woff2
- AddType application/x-font-opentype .otf
- ExpiresActive On
- ExpiresDefault A0
- ExpiresByType video/webm A10368000
- ExpiresByType video/ogg A10368000
- ExpiresByType video/mp4 A10368000
- ExpiresByType image/avif A10368000
- ExpiresByType image/webp A10368000
- ExpiresByType image/gif A10368000
- ExpiresByType image/png A10368000
- ExpiresByType image/jpg A10368000
- ExpiresByType image/jpeg A10368000
- ExpiresByType image/ico A10368000
- ExpiresByType image/svg+xml A10368000
- ExpiresByType text/css A10368000
- ExpiresByType text/javascript A10368000
- ExpiresByType application/javascript A10368000
- ExpiresByType application/x-javascript A10368000
- ExpiresByType application/font-woff2 A10368000
- ExpiresByType application/x-font-opentype A10368000
- ExpiresByType application/x-font-truetype A10368000
- </IfModule>
- <IfModule mod_headers.c>
- Header set Expires "max-age=A10368000, public"
- Header unset ETag
- Header set Connection keep-alive
- FileETag None
- </IfModule>
- </FilesMatch>
- # END LBCWpFastestCache
- # BEGIN WEBPWpFastestCache
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTP_ACCEPT} image/webp
- RewriteCond %{REQUEST_URI} \.(jpe?g|png)
- RewriteCond %{DOCUMENT_ROOT}/$1.webp -f [or]
- RewriteCond /home/waldorfo/domains/new.waldorf-obuda.hu/public_html/$1.webp -f
- RewriteRule ^(.*) "/$1.webp" [L]
- </IfModule>
- <IfModule mod_headers.c>
- Header append Vary Accept env=REDIRECT_accept
- </IfModule>
- AddType image/webp .webp
- # END WEBPWpFastestCache
- # BEGIN LSCACHE
- # END LSCACHE
- # BEGIN NON_LSCACHE
- # END NON_LSCACHE
- # BEGIN WordPress
- # A `BEGIN WordPress` és az `END WordPress` sorok közötti tartalom dinamikusan lett létrehozva, és csak WordPress szűrők módosíthatják. E kettő sor közötti bármilyen kézi módosítás el fog veszni.
- <IfModule mod_rewrite.c>
- 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]
- </IfModule>
- # END WordPress
- # Wordfence WAF
- <IfModule LiteSpeed>
- php_value auto_prepend_file '/home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wordfence-waf.php'
- </IfModule>
- <IfModule lsapi_module>
- php_value auto_prepend_file '/home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wordfence-waf.php'
- </IfModule>
- <Files ".user.ini">
- <IfModule mod_authz_core.c>
- Require all denied
- </IfModule>
- <IfModule !mod_authz_core.c>
- Order deny,allow
- Deny from all
- </IfModule>
- </Files>
- # END Wordfence WAF