Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Pretty URL/.httacess changes

  • #3229
    Avatar photo[anonymous]

    Hello Publii team!

    Working on a new site in Publii I have encountered a small issue with the posts and pretty URL option. I am using individual posts as “pages” on the site, with links directly to them i.e.: LINK <a/>

    When turning on the option for pretty URL to remove .html suffix I get error when the pages refuse to load. I have customised the default post template provided by the theme, but am struggling to figure out what the Tag prefix would be. I read several forum posts on this, but all the answers are regarding using the menu item/hidden posts. I am not certain this would help my case, as the navigation sidebar is also fully custom build from the ground up with links to the individual posts.

    I know how to remove the .html affix inside .htaccess file, but cannot seem to locate it. Any idea where it would be (we are hosting via AWS S3)

    Hoping you can kick me in the right direction! 🙂

    Warmest regards

    #3230
    Avatar photoBob

    I really don’t understand why you try to remove the .HTML suffix by htccacess. The pretty URLs work very well; could you provide me the site URL where the problem exists?