HEX
Server: Apache
System: Linux server.y-p01.co.uk 3.10.0-1160.119.1.el7.tuxcare.els21.x86_64 #1 SMP Tue Jun 17 03:11:12 UTC 2025 x86_64
User: mcmillanconsulti (1050)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/mcmillanconsulti/public_html/.htaccess.bk
# BEGIN Imagify: rewrite rules for webp
<IfModule mod_setenvif.c>
# Vary: Accept for all the requests to jpeg, png, and gif.
	SetEnvIf Request_URI "\.(jpg|jpeg|jpe|png|gif)$" REQUEST_image
</IfModule>

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	
# Check if browser supports WebP images.
	RewriteCond %{HTTP_ACCEPT} image/webp
	
# Check if WebP replacement image exists.
	RewriteCond %{REQUEST_FILENAME}.webp -f
	
# Serve WebP image instead.
	RewriteRule (.+)\.(jpg|jpeg|jpe|png|gif)$ $1.$2.webp [T=image/webp,NC]
</IfModule>

<IfModule mod_headers.c>
	Header append Vary Accept env=REQUEST_image
</IfModule>
# END Imagify: rewrite rules for webp

# BEGIN Imagify: webp file type
<IfModule mod_mime.c>
	AddType image/webp .webp
</IfModule>
# END Imagify: webp file type

# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule LiteSpeed>
	RewriteEngine on
	CacheLookup on
	RewriteRule .* - [E=Cache-Control:no-autoflush]
	RewriteRule \.litespeed_conf\.dat - [F,L]
	
### marker CACHE RESOURCE start ###
	RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
### marker CACHE RESOURCE end ###
	
### marker FAVICON start ###
	RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
### marker FAVICON end ###
	
### marker DROPQS start ###
	CacheKeyModify -qs:fbclid
	CacheKeyModify -qs:gclid
	CacheKeyModify -qs:utm*
	CacheKeyModify -qs:_ga
### marker DROPQS end ###
	
</IfModule>
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
### marker BROWSER CACHE start ###
<IfModule mod_expires.c>
	ExpiresActive on
	ExpiresByType application/pdf A31557600
	ExpiresByType image/x-icon A31557600
	ExpiresByType image/vnd.microsoft.icon A31557600
	ExpiresByType image/svg+xml A31557600
	
	ExpiresByType image/jpg A31557600
	ExpiresByType image/jpeg A31557600
	ExpiresByType image/png A31557600
	ExpiresByType image/gif A31557600
	ExpiresByType image/webp A31557600
	
	ExpiresByType video/ogg A31557600
	ExpiresByType audio/ogg A31557600
	ExpiresByType video/mp4 A31557600
	ExpiresByType video/webm A31557600
	
	ExpiresByType text/css A31557600
	ExpiresByType text/javascript A31557600
	ExpiresByType application/javascript A31557600
	ExpiresByType application/x-javascript A31557600
	
	ExpiresByType application/x-font-ttf A31557600
	ExpiresByType application/x-font-woff A31557600
	ExpiresByType application/font-woff A31557600
	ExpiresByType application/font-woff2 A31557600
	ExpiresByType application/vnd.ms-fontobject A31557600
	ExpiresByType font/ttf A31557600
	ExpiresByType font/otf A31557600
	ExpiresByType font/woff A31557600
	ExpiresByType font/woff2 A31557600
	
</IfModule>
### marker BROWSER CACHE end ###

## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<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

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
	php_flag display_errors Off
	php_value max_execution_time 60
	php_value max_input_time 90
	php_value max_input_vars 2000
	php_value memory_limit 128M
	php_value post_max_size 20M
	php_value session.gc_maxlifetime 1440
	php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
	php_value upload_max_filesize 20M
	php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
	php_flag display_errors Off
	php_value max_execution_time 60
	php_value max_input_time 90
	php_value max_input_vars 2000
	php_value memory_limit 128M
	php_value post_max_size 20M
	php_value session.gc_maxlifetime 1440
	php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
	php_value upload_max_filesize 20M
	php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
	AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit