How To Force HTTPS Redirect Setup In HostGator WP Hosting
2 mins read

How To Force HTTPS Redirect Setup In HostGator WP Hosting

Introduction

Securing your WordPress website with HTTPS is essential for protecting user data, improving search engine rankings, and building trust with visitors. If your site still appears as “Not Secure,” it usually indicates that the SSL certificate is not fully configured or that the site URLs are still using HTTP instead of HTTPS. This guide provides a clear, step-by-step walkthrough to help you force HTTPS on a WordPress website hosted on HostGator, starting from accessing the hosting dashboard and file manager to updating the wp-config.php file and verifying WordPress general settings, ensuring your site loads securely for all visitors.

1. https Issue

yet your site is not secured.

https Issue

2. Access DNS Hosting

Open your Hostgator Dashboard and click Hosting.

Access DNS Hosting

3. Open File Manager

Click “File Manager” to access your website files through HostGator’s control panel.

Open File Manager

4. Open Public HTML Folder

Click “public_html” to view the root directory of your website files.

Open Public HTML Folder

5. Open Site Folder

open folder in which your site content is placed

Open Site Folder

6. Select wp-config.php File

Click “wp-config.php” to select the WordPress configuration file for editing.

Select wp-config.php File

7. Initiate File Edit

Click “Edit” to open the wp-config.php file in the editor.

Initiate File Edit

8. Confirm Edit Action

Click “Edit” again to confirm and proceed with editing the file.

Confirm Edit Action

9. Navigate To Save Location

Go here to prepare for saving the changes made to the configuration file.

Navigate To Save Location

10. Fill site URLs

Put Home url and site url and remember to put https not only http.

Fill site URLs

11. Confirm Save Action

Click “Save Changes” again to ensure all edits are saved properly.

Confirm Save Action

Ad Banner

12. Open your website

Switch to Your si to verify the HTTPS redirect on the temporary domain.

Open your website

13. Open admin Dashboard

Click on logo to open wordpress admin dashboard.

Open admin Dashboard

14. Open General Settings

Click “General” to access the general settings of your WordPress site.

Open General Settings

15. Open WordPress Site Folder

ensure both Home and site urls are same and consist of https not http

Open WordPress Site Folder

16. Save General Settings

Click “Save Changes” to confirm any updates made in the general settings.

Save General Settings

17. Verify

now you can see your site is secured

Verify

Conclusion

By following the steps outlined in this guide, you can successfully secure your WordPress website hosted on HostGator by enabling HTTPS and forcing all traffic to use encrypted connections. Updating the wp-config.php file and WordPress general settings ensures that your website URL consistently uses HTTPS, protecting sensitive data and providing a safer experience for your visitors. This method also boosts your site’s credibility and improves search engine performance, offering a reliable solution for maintaining website security.

  • Visit: https://www.woohelpdesk.com

  • Call Us Toll-Free: +1 888 602 0119 (US & Canada)

  • Get professional assistance with WordPress security, HTTPS configuration, plugin setup, and HostGator hosting management

Leave a Reply

Your email address will not be published. Required fields are marked *

Leave a Reply

Your email address will not be published. Required fields are marked *