# My website didn't redirect http to https

**URL:** https://forum.infinityfree.com/t/my-website-didnt-redirect-http-to-https/63736
**Category:** Hosting Support
**Created:** [July 11, 2022, 10:11am UTC](https://forum.infinityfree.com/t/my-website-didnt-redirect-http-to-https/63736 "2022-07-11T10:11:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![wackyblackie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wackyblackie/32/43350_2.png) [@wackyblackie](https://forum.infinityfree.com/u/wackyblackie)
#### Post date: [July 11, 2022, 11:40am UTC](https://forum.infinityfree.com/t/my-website-didnt-redirect-http-to-https/63736/2 "2022-07-11T11:40:11Z")

</div>

Do this here:

> [@How to force all traffic to HTTPS](https://forum.infinityfree.com/t/how-to-force-all-traffic-to-https/49322):
>
> After you’ve enabled SSL for your website, you’ll probably want to redirect all traffic on your website to the https version of your site. There are multiple ways to do that. Let’s compare some commonly used ways. Using script configuration Some scripts (including Wordpress) have a setting which allows you to set your website URL. By changing this URL from [http://example.com](http://example.com) to [https://example.com](https://example.com), the script will probably redirect visitors to the https version of your site. Even if your script…

And enable always use https in CloudFlare

If you are using Wordpress and flexible ssl:

> [@How to make Cloudflare Flexible SSL work with WordPress](https://forum.infinityfree.com/t/how-to-make-cloudflare-ssl-work-with-wordpress/49362):
>
> WordPress is a great and very popular website building tool, and Cloudflare is a great way to get HTTPS on your website for free. Thanks to Cloudflare’s Flexible SSL system, you don’t even need to manage SSL certificates to use it! However, getting WordPress to show a padlock and make all pages work can be a bit tricky. This article explains a good way to configure your website correctly with Cloudflare Flexible SSL. Heads up! Instead of making WordPress work with Flexible SSL, you can also c…

---

_[View the full topic](https://forum.infinityfree.com/t/my-website-didnt-redirect-http-to-https/63736)._
