Jump to content


tomhanna's Content

There have been 2 items by tomhanna (Search limited from 19-September 19)


By content type

See this member's

Sort by                Order  

#7575 Hotlink protection breaks my background image

Posted by tomhanna on 29 May 2019 - 11:55 PM in Premium Hosting Support

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. 




#7574 Best way to redirect all URLs to https version

Posted by tomhanna on 29 May 2019 - 03:01 PM in Premium Hosting Support

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]