Force HTTPS in Zenphoto

Better secure your Zenphoto image galleries with a free or paid SSL certificate on your domain. Then, follow our steps below to learn how to Force HTTPS and remove the redirect for troubleshooting.

Get root access and more control over security with our managed VPS host plans.


  1. Login to Zenphoto.
  2. Hover over Options and click Security.
  3. Click the Server protocol drop-down and select https.
  4. Click Apply at the top.

Remove Redirect

If your SSL expires, you should install a new SSL immediately. If you need to access your admin dashboard in the meantime, you’ll need to edit your Zenphoto configuration file to access admin pages.

  1. Log into SSH, FTP, or cPanel File Manager.
  2. Navigate to your Zenphoto root directory.
  3. Edit zp-date/zenphoto.cfg.php.
  4. Find $conf["server_protocol"] = "https".
  5. Change https to http.
  6. Save changes.
  7. Login to Zenphoto and change the server protocol drop-down to http.

Further secure your image gallery with security HTTP headers. Still curious about security features on our managed VPS Hosting? Check out 24 ways to secure your InMotion Hosting VPS.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Was this article helpful? Join the conversation!

Leap into Savings
Leap Ahead with Limited Time Deals