mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-01-02 11:26:29 -05:00
SEO fixes (#2070)
This commit is contained in:
parent
dc4199d7c4
commit
7fb07925ec
112
_redirects
112
_redirects
@ -4,58 +4,60 @@
|
|||||||
/ /nl/ 302 Language=nl
|
/ /nl/ 302 Language=nl
|
||||||
/ /en/ 302
|
/ /en/ 302
|
||||||
|
|
||||||
/sitemap.xml /en/sitemap.xml
|
/.well-known/matrix/* https://matrix.privacyguides.org/.well-known/matrix/:splat 200
|
||||||
/CODE_OF_CONDUCT/ /en/CODE_OF_CONDUCT/
|
|
||||||
/android/ /en/android/
|
/kb /en/basics/threat-modeling/
|
||||||
/calendar/ /en/calendar/
|
/:lang/kb /:lang/basics/threat-modeling/
|
||||||
/cloud/ /en/cloud/
|
|
||||||
/data-redaction/ /en/data-redaction/
|
/coc/ /en/CODE_OF_CONDUCT/
|
||||||
/desktop-browsers/ /en/desktop-browsers/
|
|
||||||
/desktop/ /en/desktop/
|
/team /en/about/
|
||||||
/dns/ /en/dns/
|
/browsers /en/desktop-browsers/
|
||||||
/email-clients/ /en/email-clients/
|
/blog https://blog.privacyguides.org
|
||||||
/email/ /en/email/
|
/basics/dns-overview /en/advanced/dns-overview/
|
||||||
/encryption/ /en/encryption/
|
/basics/tor-overview /en/advanced/tor-overview/
|
||||||
/file-sharing/ /en/file-sharing/
|
/real-time-communication/communication-network-types /en/advanced/communication-network-types
|
||||||
/frontends/ /en/frontends/
|
/advanced/real-time-communication /en/advanced/communication-network-types
|
||||||
/kb-archive/ /en/kb-archive/
|
/android/overview /en/os/android-overview/
|
||||||
/mobile-browsers/ /en/mobile-browsers/
|
/linux-desktop/overview /en/os/linux-overview/
|
||||||
/multi-factor-authentication/ /en/multi-factor-authentication/
|
/android/grapheneos-vs-calyxos https://blog.privacyguides.org/2022/04/21/grapheneos-or-calyxos/
|
||||||
/news-aggregators/ /en/news-aggregators/
|
/ios/configuration https://blog.privacyguides.org/2022/10/22/ios-configuration-guide/
|
||||||
/notebooks/ /en/notebooks/
|
/linux-desktop/hardening https://blog.privacyguides.org/2022/04/22/linux-system-hardening/
|
||||||
/passwords/ /en/passwords/
|
/linux-desktop/sandboxing https://blog.privacyguides.org/2022/04/22/linux-application-sandboxing/
|
||||||
/productivity/ /en/productivity/
|
/advanced/signal-configuration-hardening https://blog.privacyguides.org/2022/07/07/signal-configuration-and-hardening/
|
||||||
/real-time-communication/ /en/real-time-communication/
|
/real-time-communication/signal-configuration-hardening https://blog.privacyguides.org/2022/07/07/signal-configuration-and-hardening/
|
||||||
/router/ /en/router/
|
/advanced/integrating-metadata-removal https://blog.privacyguides.org/2022/04/09/integrating-metadata-removal/
|
||||||
/search-engines/ /en/search-engines/
|
/advanced/erasing-data https://blog.privacyguides.org/2022/05/25/secure-data-erasure/
|
||||||
/tools/ /en/tools/
|
/operating-systems /en/desktop/
|
||||||
/tor/ /en/tor/
|
/threat-modeling /en/basics/threat-modeling/
|
||||||
/video-streaming/ /en/video-streaming/
|
/self-contained-networks /en/tor/
|
||||||
/vpn/ /en/vpn/
|
/privacy-policy /en/about/privacy-policy/
|
||||||
/about/criteria/ /en/about/criteria/
|
/metadata-removal-tools /en/data-redaction/
|
||||||
/about/donate/ /en/about/donate/
|
/basics /en/kb
|
||||||
/about/ /en/about/
|
/software/file-encryption /en/encryption/
|
||||||
/about/notices/ /en/about/notices/
|
/providers /en/tools/#service-providers
|
||||||
/about/privacy-policy/ /en/about/privacy-policy/
|
/software/calendar-contacts /en/calendar/
|
||||||
/about/privacytools/ /en/about/privacytools/
|
/calendar-contacts /en/calendar/
|
||||||
/about/services/ /en/about/services/
|
/software/metadata-removal-tools /en/data-redaction/
|
||||||
/about/statistics/ /en/about/statistics/
|
/contact /en/about/
|
||||||
/advanced/communication-network-types/ /en/advanced/communication-network-types/
|
/welcome-to-privacy-guides https://blog.privacyguides.org/2021/09/14/welcome-to-privacy-guides/
|
||||||
/advanced/dns-overview/ /en/advanced/dns-overview/
|
/software/email /en/email-clients/
|
||||||
/advanced/tor-overview/ /en/advanced/tor-overview/
|
/providers/paste /en/tools/
|
||||||
/basics/account-creation/ /en/basics/account-creation/
|
/blog/2019/10/05/understanding-vpns https://www.jonaharagon.com/posts/understanding-vpns/
|
||||||
/basics/account-deletion/ /en/basics/account-deletion/
|
/terms-and-notices /en/about/notices/
|
||||||
/basics/common-misconceptions/ /en/basics/common-misconceptions/
|
/software/networks /en/tor/
|
||||||
/basics/common-threats/ /en/basics/common-threats/
|
/social-news-aggregator /en/news-aggregators/
|
||||||
/basics/email-security/ /en/basics/email-security/
|
/basics/erasing-data https://blog.privacyguides.org/2022/05/25/secure-data-erasure/
|
||||||
/basics/multi-factor-authentication/ /en/basics/multi-factor-authentication/
|
/linux-desktop /en/desktop/
|
||||||
/basics/passwords-overview/ /en/basics/passwords-overview/
|
|
||||||
/basics/threat-modeling/ /en/basics/threat-modeling/
|
/providers/:slug /en/:slug/
|
||||||
/basics/vpn-overview/ /en/basics/vpn-overview/
|
/software/:slug /en/:slug/
|
||||||
/meta/brand/ /en/meta/brand/
|
/blog/* https://blog.privacyguides.org/:splat
|
||||||
/meta/git-recommendations/ /en/meta/git-recommendations/
|
/assets/* /en/assets/:splat
|
||||||
/meta/uploading-images/ /en/meta/uploading-images/
|
|
||||||
/meta/writing-style/ /en/meta/writing-style/
|
/:slug/ /en/:slug/
|
||||||
/os/android-overview/ /en/os/android-overview/
|
/about/:slug/ /en/about/:slug/
|
||||||
/os/linux-overview/ /en/os/linux-overview/
|
/advanced/:slug/ /en/advanced/:slug/
|
||||||
/os/qubes-overview/ /en/os/qubes-overview/
|
/basics/:slug/ /en/basics/:slug/
|
||||||
|
/meta/:slug/ /en/meta/:slug/
|
||||||
|
/os/:slug/ /en/os/:slug/
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
---
|
---
|
||||||
hide:
|
hide:
|
||||||
- feedback
|
- feedback
|
||||||
|
meta:
|
||||||
|
- property: "robots"
|
||||||
|
content: "noindex, nofollow"
|
||||||
---
|
---
|
||||||
|
|
||||||
# 404 - Not Found
|
# 404 - Not Found
|
||||||
|
234
netlify.toml
234
netlify.toml
@ -21,240 +21,6 @@
|
|||||||
[headers.values]
|
[headers.values]
|
||||||
Content-Security-Policy = "default-src 'none'; script-src https://www.privacyguides.org https://api.privacyguides.net 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self'; img-src data: 'self'; connect-src https://api.github.com https://*.privacyguides.net 'self'; frame-src https://snowflake.torproject.org; frame-ancestors 'none'"
|
Content-Security-Policy = "default-src 'none'; script-src https://www.privacyguides.org https://api.privacyguides.net 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self'; img-src data: 'self'; connect-src https://api.github.com https://*.privacyguides.net 'self'; frame-src https://snowflake.torproject.org; frame-ancestors 'none'"
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/.well-known/matrix/*"
|
|
||||||
to = "https://matrix.privacyguides.org/.well-known/matrix/:splat"
|
|
||||||
status = 200
|
|
||||||
force = true
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/kb"
|
|
||||||
to = "/en/basics/threat-modeling/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/:lang/kb"
|
|
||||||
to = "/:lang/basics/threat-modeling/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/coc"
|
|
||||||
to = "/en/CODE_OF_CONDUCT/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/team"
|
|
||||||
to = "/en/about/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/browsers"
|
|
||||||
to = "/en/desktop-browsers/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog"
|
|
||||||
to = "https://blog.privacyguides.org"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog/2021/12/01/firefox-privacy-2021-update"
|
|
||||||
to = "https://blog.privacyguides.org/2021/12/01/firefox-privacy-2021-update/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog/2021/09/14/welcome-to-privacy-guides"
|
|
||||||
to = "https://blog.privacyguides.org/2021/09/14/welcome-to-privacy-guides/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog/2022/06/09/hide-nothing"
|
|
||||||
to = "https://blog.privacyguides.org/2022/06/09/hide-nothing/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog/2022/04/04/move-fast-and-break-things"
|
|
||||||
to = "https://blog.privacyguides.org/2022/04/04/move-fast-and-break-things/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog/2021/11/01/virtual-insanity"
|
|
||||||
to = "https://blog.privacyguides.org/2021/11/01/virtual-insanity"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/basics/dns-overview"
|
|
||||||
to = "/en/advanced/dns-overview/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/basics/tor-overview"
|
|
||||||
to = "/en/advanced/tor-overview/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/real-time-communication/communication-network-types"
|
|
||||||
to = "/en/advanced/communication-network-types"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/advanced/real-time-communication"
|
|
||||||
to = "/en/advanced/communication-network-types"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/android/overview"
|
|
||||||
to = "/en/os/android-overview/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/linux-desktop/overview"
|
|
||||||
to = "/en/os/linux-overview/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/android/grapheneos-vs-calyxos"
|
|
||||||
to = "https://blog.privacyguides.org/2022/04/21/grapheneos-or-calyxos/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/ios/configuration"
|
|
||||||
to = "https://blog.privacyguides.org/2022/10/22/ios-configuration-guide/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/linux-desktop/hardening"
|
|
||||||
to = "https://blog.privacyguides.org/2022/04/22/linux-system-hardening/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/linux-desktop/sandboxing"
|
|
||||||
to = "https://blog.privacyguides.org/2022/04/22/linux-application-sandboxing/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/advanced/signal-configuration-hardening"
|
|
||||||
to = "https://blog.privacyguides.org/2022/07/07/signal-configuration-and-hardening/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/real-time-communication/signal-configuration-hardening"
|
|
||||||
to = "https://blog.privacyguides.org/2022/07/07/signal-configuration-and-hardening/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/advanced/integrating-metadata-removal"
|
|
||||||
to = "https://blog.privacyguides.org/2022/04/09/integrating-metadata-removal/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/advanced/erasing-data"
|
|
||||||
to = "https://blog.privacyguides.org/2022/05/25/secure-data-erasure/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/providers/dns"
|
|
||||||
to = "/en/dns/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/video-streaming"
|
|
||||||
to = "/en/video-streaming/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/providers/vpn"
|
|
||||||
to = "/en/vpn/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/operating-systems"
|
|
||||||
to = "/en/desktop/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/providers/email"
|
|
||||||
to = "/en/email/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/threat-modeling"
|
|
||||||
to = "/en/basics/threat-modeling/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/passwords"
|
|
||||||
to = "/en/passwords/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/self-contained-networks"
|
|
||||||
to = "/en/tor/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/privacy-policy"
|
|
||||||
to = "/en/about/privacy-policy/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/metadata-removal-tools"
|
|
||||||
to = "/en/data-redaction/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/basics"
|
|
||||||
to = "/en/kb"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/file-encryption"
|
|
||||||
to = "/en/encryption/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/providers"
|
|
||||||
to = "/en/tools/#service-providers"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/notebooks"
|
|
||||||
to = "/en/notebooks/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/calendar-contacts"
|
|
||||||
to = "/en/calendar/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/calendar-contacts"
|
|
||||||
to = "/en/calendar/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/metadata-removal-tools"
|
|
||||||
to = "/en/data-redaction/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/contact"
|
|
||||||
to = "/en/about/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/welcome-to-privacy-guides"
|
|
||||||
to = "https://blog.privacyguides.org/2021/09/14/welcome-to-privacy-guides/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/email"
|
|
||||||
to = "/en/email-clients/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/providers/paste"
|
|
||||||
to = "/en/tools/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/providers/search-engines"
|
|
||||||
to = "/en/search-engines/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/productivity"
|
|
||||||
to = "/en/productivity/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/real-time-communication"
|
|
||||||
to = "/en/real-time-communication/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/blog/2019/10/05/understanding-vpns"
|
|
||||||
to = "https://www.jonaharagon.com/posts/understanding-vpns/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/terms-and-notices"
|
|
||||||
to = "/en/about/notices/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/file-sharing"
|
|
||||||
to = "/en/file-sharing/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/software/networks"
|
|
||||||
to = "/en/tor/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/social-news-aggregator"
|
|
||||||
to = "/en/news-aggregators/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/basics/erasing-data"
|
|
||||||
to = "https://blog.privacyguides.org/2022/05/25/secure-data-erasure/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/linux-desktop"
|
|
||||||
to = "/en/desktop/"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/assets/*"
|
|
||||||
to = "/en/assets/:splat"
|
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/fr/*"
|
from = "/fr/*"
|
||||||
to = "/fr/404/index.html"
|
to = "/fr/404/index.html"
|
||||||
|
@ -1 +1,35 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
{% block site_meta %}
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
|
{% if page.meta and page.meta.description %}
|
||||||
|
<meta name="description" content="{{ page.meta.description }}">
|
||||||
|
{% elif config.site_description %}
|
||||||
|
<meta name="description" content="{{ config.site_description }}">
|
||||||
|
{% endif %}
|
||||||
|
{% if page.meta and page.meta.author %}
|
||||||
|
<meta name="author" content="{{ page.meta.author }}">
|
||||||
|
{% elif config.site_author %}
|
||||||
|
<meta name="author" content="{{ config.site_author }}">
|
||||||
|
{% endif %}
|
||||||
|
{% if page.canonical_url %}
|
||||||
|
<link rel="canonical" href="{{ page.canonical_url }}">
|
||||||
|
{% endif %}
|
||||||
|
{% if page.previous_page %}
|
||||||
|
<link rel="prev" href="{{ page.previous_page.url | url }}">
|
||||||
|
{% endif %}
|
||||||
|
{% if page.next_page %}
|
||||||
|
<link rel="next" href="{{ page.next_page.url | url }}">
|
||||||
|
{% endif %}
|
||||||
|
{% if config.extra.alternate is iterable %}
|
||||||
|
{% for alt in config.extra.alternate %}
|
||||||
|
<link rel="alternate" href="{{ "https://www.privacyguides.org/" ~ alt.lang ~ "/" ~ page.url }}" hreflang="{{ alt.lang | d(lang.t('language')) }}">
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if "rss" in config.plugins %}
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="{{ lang.t('rss.created') }}" href="{{ 'feed_rss_created.xml' | url }}">
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="{{ lang.t('rss.updated') }}" href="{{ 'feed_rss_updated.xml' | url }}">
|
||||||
|
{% endif %}
|
||||||
|
<link rel="icon" href="{{ config.theme.favicon | url }}">
|
||||||
|
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.1.0+insiders-4.32.2">
|
||||||
|
{% endblock %}
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<ul class="md-select__list">
|
<ul class="md-select__list">
|
||||||
{% for alt in config.extra.alternate %}
|
{% for alt in config.extra.alternate %}
|
||||||
<li class="md-select__item">
|
<li class="md-select__item">
|
||||||
<a href="{{ alt.link | url }}" hreflang="{{ alt.lang }}" class="md-select__link">
|
<a href="{{ "/" ~ alt.lang ~ "/" ~ page.url }}" hreflang="{{ alt.lang }}" class="md-select__link">
|
||||||
<img alt="{{ config.theme.language }}" class="twemoji" src="{{ alt.icon }}">
|
<img alt="{{ config.theme.language }}" class="twemoji" src="{{ alt.icon }}">
|
||||||
{{ alt.name }}
|
{{ alt.name }}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user