Jump to content


tomhanna

Member Since 22 Sep 2018
Offline Last Active May 29 2019 11:54 PM

Topics I've Started

Hotlink protection breaks my background image

29 May 2019 - 11:55 PM

On a subdomain website  - https://jaywallleasing.com- the background image is broken if I enable hotlink protection through cpanel. The background image is in a jaywallleasing.com subdirectory. 


Best way to redirect all URLs to https version

29 May 2019 - 03:01 PM

I'd like to redirect all links to the SSL version. I read a few things and the procedure seems to vary a bit from system to system. For a domain hosted on MDD is there anything different I need to do. The specific code I've seen to go into the .htaccess file is this, but I want to make sure there's nothing unusual that will break links somewhere in the site:

 

RewriteEngine on

# Set “protossl” to “s” if we were accessed via https://. This is used later
# if you enable “www.” stripping or enforcement, in order to ensure that
# you don’t bounce between http and https.
RewriteRule ^ — [E=protossl]
RewriteCond %{HTTPS} on
RewriteRule ^ — [E=protossl:s]