Knowledge Base

How to Redirect HTTP to HTTPS

A redirect sends visitors from the unsecured HTTP address to the HTTPS address.

Before you begin

  • Confirm that a valid SSL certificate already works for the domain.

Steps

  1. Sign in to SiteWorx using the address and credentials in your hosting welcome email.
  2. Open File Manager.
  3. Open the document-root folder for the domain.
  4. Create a backup copy of .htaccess if it exists.
  5. Edit .htaccess and add the HTTPS redirect rules provided by support or your website application.
  6. Save the file.
  7. Test both http:// and https:// versions of the domain in a private browser window.

Important

Important: A mistake in .htaccess can cause a 500 error or redirect loop. Restore the backup if that happens.

Need more help?

Open a support ticket from the Agent Black Hosting Client Portal. Include the exact error, affected service or domain, and the approximate time of the problem.

Please rate this article to help us improve our Knowledge Base.

0 0