Sign in

Documentation: 404-pages

  • This topic has 0 replies, 1 voice, and was last updated 3 years, 2 months ago by Avatar photoVerhoeckx.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2320
    Avatar photoVerhoeckx

     

    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).

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.