# Why is my website only secure when the url has a trailing slash?

**URL:** <https://forum.infinityfree.com/t/why-is-my-website-only-secure-when-the-url-has-a-trailing-slash/71541>\
**Category:** Hosting Support\
**Created:** [January 24, 2023, 5:28pm UTC](https://forum.infinityfree.com/t/why-is-my-website-only-secure-when-the-url-has-a-trailing-slash/71541 "2023-01-24T17:28:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![YT\_Xaos](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/yt_xaos/32/45201_2.png) [@YT\_Xaos](https://forum.infinityfree.com/u/YT_Xaos)\
**Post date:** [January 24, 2023, 5:33pm UTC](https://forum.infinityfree.com/t/why-is-my-website-only-secure-when-the-url-has-a-trailing-slash/71541/2 "2023-01-24T17:33:32Z")

</div>

This doesn’t seem to occur to me. When I type `https://imagienworld.rf.gd`, it shows “Secure”. Have you tried redirecting all traffic to HTTPS?

> [@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…

---

_[View the full topic](https://forum.infinityfree.com/t/why-is-my-website-only-secure-when-the-url-has-a-trailing-slash/71541)._
