File: /home/w5018503/public_html/.htaccess_
#BEGIN Really Simple SSL LETS ENCRYPT
RewriteRule ^.well-known/(.*)$ - [L]
#END Really Simple SSL LETS ENCRYPT
#Automaition Start
# This block is generated automatically.
# Do not make any changes to the section between marks "Automaition Start" and "Automaition End".
# This section was created to bind multiple domains to one Wordpress site.
# When you move the Productions to the Staging, everything between marks "Automaition Start" and "Automaition End" will be deleted.
# When you move the Staging to the Production this section will be created again.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^adamkreuzer.com.au [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/?(.*) http%1://adamkreuzer.com.au/$1 [L,R,NE]
RewriteCond %{ENV:HTTPS} !=on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://adamkreuzer.com.au/$1 [R,L]
#Automaition End
# Block the include-only files.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>
<Files wp-config.php>
<IfModule !mod_authz_core.c>
order allow,deny
deny from all
</IfModule>
<IfModule mod_authz_core.c>
require all denied
</IfModule>
</Files>
# 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
# BEGIN LiteSpeed
# The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule Litespeed>
SetEnv noabort 1
</IfModule>
# END LiteSpeed