Thread: Hacking Threat
View Single Post
  #34  
Old 04-06-2021, 12:38 PM
multiweb's Avatar
multiweb (Marc)
ze frogginator

multiweb is offline
 
Join Date: Oct 2007
Location: Sydney
Posts: 22,079
Adding those lines to the .htacess file would redirect everything to https automatically and address the current indexing in Google as well.

Quote:
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.iceinspace.com.au/$1 [R,L]
Having said that there is nothing of value on IIS. It is public domain. Storm in a teacup.
Reply With Quote