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.

How to remove .html from url publii?

  • #9514
    Avatar photo[anonymous]

    How to get rid from .html in Publii site URL?


    http://www.mydomain/page.html     into    http://www.mydomain/page.

    Avatar photo[anonymous]

    Site settings > URLs > Use pretty URLs

    Avatar photo[anonymous]

    I tried what privii said:

    Site settings > URLs > Use pretty URLs

    and got this error:

    <span class=”html-tag”><Error></span>
    <span class=”html-tag”></span>AccessDenied<span class=”html-tag”></span>
    <span class=”html-tag”><Message></span>Access Denied<span class=”html-tag”></Message></span>
    <span class=”html-tag”><RequestId></span>JF26XZY9WAAY8HWZ<span class=”html-tag”></RequestId></span>
    <span class=”html-tag”><HostId></span>txpGx1a7WtTWLGkZFAgQZvtqWs9zPDuu+mlgaOVrTfQzxxDiWobkyo2AZekU5k6WmQQh6MEaogk=<span class=”html-tag”></HostId></span>
    <span class=”html-tag”></Error></span>
    Avatar photo[anonymous]

    trox – it probably means that your hosting does not use index.html as default catalog index file