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.

How to remove .html from url publii?

  • #9514
    Avatar photo[anonymous]

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

    Example:

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

    #9516
    Avatar photo[anonymous]

    Site settings > URLs > Use pretty URLs

    #9556
    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>
    #9809
    Avatar photo[anonymous]

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