Receive AccessDenied when trying to access a page via the full url on my website : <p>For a while, I was simply storing the contents of my website in a s3 bucket and could access all pages via the full url just fine. I wanted to make my website more secure by adding an SSL so I created a CloudFront Distribution to point to my s3 bucket.</p>

<p>The site will load just fine, but if the user tries to refresh the page or if they try to access a page using the full url (i.e., www.example.com/home), they will receive an AccessDenied page.</p>

<p><a href="https://i.stack.imgur.com/4tMgZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4tMgZ.png" alt="enter image description here"></a></p>

<p>I have a policy on my s3 bucket that restricts access to only the Origin Access Identity and index.html is set as my domain root object.</p>

<p>I am not understanding what I am missing.</p>

<p>To demo, feel free to visit my <a href="http://kurtking.me" rel="noreferrer">site</a>.</p>

<p>You will notice how it redirects you to kurtking.me/home. To reproduce the error, try refreshing the page or access a page via full URL (i.e., kurtking.me/life)</p>

<p>Any help is much appreciated as I have been trying to wrap my head around this and search for answers for a few days now.</p>
