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.

Documentation: 404-pages

  • #2320
    Avatar photo[anonymous]
    1. Check if the variable create404page in the config.json file is set to true.
    2. Create a .htaccess file with the following content: ErrorDocument 404 /404.html
    3. Upload the .htaccess file in the Publii File manager (Tools → File Manager).
    4. Sync the website with the web server.

    Using a sub directory on your server? Add the sub directory to the path (example: /sub-directory/404.html).