diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 2a545e50..4fe70f4e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - PYTHON_VERSION: 3.x + PYTHON_VERSION: 3.8 jobs: build: @@ -34,7 +34,7 @@ jobs: - name: Python setup uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.8' - name: Cache files uses: actions/cache@v3.2.6 diff --git a/docs/404.en.md b/docs/404.en.md new file mode 100644 index 00000000..650acf73 --- /dev/null +++ b/docs/404.en.md @@ -0,0 +1,15 @@ +--- +hide: + - feedback +--- + +# 404 - Not Found + +We couldn't find the page you were looking for! Maybe you were looking for one of these? + +- [Introduction to Threat Modeling](basics/threat-modeling.md) +- [Recommended DNS Providers](dns.md) +- [Best Desktop Web Browsers](desktop-browsers.md) +- [Best VPN Providers](vpn.md) +- [Privacy Guides Forum](https://discuss.privacyguides.net) +- [Our Blog](https://blog.privacyguides.org) diff --git a/netlify.toml b/netlify.toml index e8f56306..a9ed5d30 100644 --- a/netlify.toml +++ b/netlify.toml @@ -248,3 +248,23 @@ [[redirects]] from = "/linux-desktop" to = "/desktop/" + +[[redirects]] + from = "/fr/*" + to = "/fr/404/index.html" + status = 404 + +[[redirects]] + from = "/he/*" + to = "/he/404/index.html" + status = 404 + +[[redirects]] + from = "/nl/*" + to = "/nl/404/index.html" + status = 404 + +[[redirects]] + from = "/*" + to = "/404/index.html" + status = 404