Hey @nathanmartin thank you so much for your quick reply
Youâre right, it is accessible but just wondered if there is a way to automatically redirect if thereâs a .html in the end of the URL. After all, youâre right, it works like that and I can access everything without .html. But would be even cooler if itâs just not possible to open .html files without a redirect. I thought that is what Asset optimization > Pretty URLs is doing?
Hey @luisrieke , I took a look at your site and it does look like the Pretty URLs are working as expected. What I tried was going to your main/home page here [https://luisrieke.com/] and then I clicked on the ârunningâ link, and the URL showed as Luis Rieke - running â is this what youâre expecting?
If you are seeing a specific page or link which is not working as you expect, can you share the URL for that page so we can investigate further?
I believe part of the confusion here is whether or not the âAsset optimization - Pretty URLsâ is supposed to apply any redirection of a users request for a file.
My understanding, based on the description written under it, is that it scans and changes your HTML to remove references to URLs ending in .html, so if you had a link of href="/about.html", it would adjust your code to href="/about".
What @luisrieke is questioning is that if a user is directly accessing a file with the .html extension in the URL, a file which does exist, is it possible to redirect them to the Pretty URL for that same file.