HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-84-generic #84-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 5 22:36:38 UTC 2025 x86_64
User: healthinsuranceukorguk (1111)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/learn-shiatsu.co.uk/public_html/.htaccess
# invoke rewrite engine
RewriteEngine On
RewriteBase /

Options -Indexes
<IfModule mod_negotiation.c>
	Options -MultiViews
</IfModule>

# Redirect non-www to www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

# Specific redirections
RewriteRule ^index\.html$ / [L,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index\.htm$ index_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/DIPLOMA\.htm$
RewriteRule ^404error\.php$ 404error_refpage-_DIPLOMA_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/favicon\.ico$
RewriteRule ^404error\.php$ 404error_refpage-_favicon_ico.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/hara_shiatsu_therapy\.htm$
RewriteRule ^404error\.php$ 404error_refpage-_hara_shiatsu_therapy_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/ls_CERTIFICATE\.htm$
RewriteRule ^404error\.php$ 404error_refpage-_ls_CERTIFICATE_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/ls_chi_nei_tsang\.htm$
RewriteRule ^404error\.php$ 404error_refpage-_ls_chi_nei_tsang_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/ls_FAQs\.htm$
RewriteRule ^404error\.php$ 404error_refpage-_ls_FAQs_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/LS_friday_taster\.htm$
RewriteRule ^404error\.php$ 404error_refpage-_LS_friday_taster_htm.html [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^refpage=/Zen_Shiatsu_prospectus_0506\.pdf$
RewriteRule ^404error\.php$ 404error_refpage-_Zen_Shiatsu_prospectus_0506_pdf.html [L,R=301,QSD]

# Redirect all extensions to html
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.shtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.phtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.jhtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.htm$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.php$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.aspx$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.asp$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.jsp$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.apk$ $1.html [L,NC,R=301]
# End: Redirect all extensions to html