Our team intervenes within 48 hours, we recommend you submit a public ticket so that other developers can help to fix the issue as soon as possible.

If you purchased the item 6 months ago, please read the Item Support Policy carefully before submitting a ticket.

Note: don’t share item or server credentials on public, use the private option.

Okay
  Print

How to change http to https

Hello! It seems like you're looking for guidance on how to change HTTP to HTTPS for the website. While the specific steps may vary depending on your hosting environment, I can provide you with a general outline of the process.

  1. Log in to your cPanel: Access your hosting control panel by entering your credentials (username and password) provided by your hosting provider. Typically, cPanel can be accessed by appending "/cpanel" to your domain name (e.g., "yourdomain.com/cpanel").
  2. Locate the "Domains" section: In cPanel, navigate to the "Domains" or "Domains Manager" section. The exact location may differ depending on your hosting provider's interface.
  3. Enable HTTPS redirection: Look for an option or setting related to HTTPS redirection or Force HTTPS Redirect. This setting ensures that visitors are automatically redirected to the secure HTTPS version of your website. Enable this option to enforce HTTPS on your website.
  4. Access File Manager: In cPanel, find the "File Manager" option. This tool allows you to manage your website's files and directories directly from your hosting account.
  5. Locate the configuration file: The specific configuration file you need to edit depends on the type of website you have. In most cases, you'll be looking for a file named ".htaccess" in the root directory of your website. The root directory is usually named "public_html" or "www."
  6. Edit the .htaccess file: Right-click on the .htaccess file and select "Edit" or "Code Edit" from the context menu. If the file doesn't exist, you can create a new one.
  7. Add HTTPS redirection code: Inside the .htaccess file, add the following lines of code at the beginning, before any existing code 
  8. Save the changes: After adding the code, save the .htaccess file.
  9. Test the HTTPS redirection: Open a web browser and enter your website's URL using the "http://" prefix. The browser should automatically redirect you to the secure "https://" version of your website. Check to see if the redirection is working correctly.