Skip to content

Commit 660b6ae

Browse files
[1.1.1.1.] Update folder name to avoid double slugify (#24385)
* Rename other-ways-to-use-1.1.1.1 folder to additional-options * Add dynamic redirect * Update frontmatter slug to use /additional-options/ * Update previously exitsing redirects * Fix remaining forntmatter slug in index.mdx
1 parent bc06c6c commit 660b6ae

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

public/__redirects

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@
7676
/1.1.1.1/encrypted-dns/dns-over-https/make-api-requests/ /1.1.1.1/encryption/dns-over-https/make-api-requests/ 301
7777
/1.1.1.1/encrypted-dns/dns-over-https/make-api-requests/dns-json/ /1.1.1.1/encryption/dns-over-https/make-api-requests/dns-json/ 301
7878
/1.1.1.1/encrypted-dns/dns-over-tls/ /1.1.1.1/encryption/dns-over-tls/ 301
79-
/1.1.1.1/fun-stuff/dns-in-google-sheets/ /1.1.1.1/other-ways-to-use-1.1.1.1/dns-in-google-sheets/ 301
80-
/1.1.1.1/fun-stuff/dns-over-discord/ /1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-discord/ 301
81-
/1.1.1.1/fun-stuff/dns-over-sms/ /1.1.1.1/other-ways-to-use-1.1.1.1/ 301
82-
/1.1.1.1/fun-stuff/dns-over-tor/ /1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-tor/ 301
79+
/1.1.1.1/fun-stuff/dns-in-google-sheets/ /1.1.1.1/additional-options/dns-in-google-sheets/ 301
80+
/1.1.1.1/fun-stuff/dns-over-discord/ /1.1.1.1/additional-options/dns-over-discord/ 301
81+
/1.1.1.1/fun-stuff/dns-over-sms/ /1.1.1.1/additional-options/ 301
82+
/1.1.1.1/fun-stuff/dns-over-tor/ /1.1.1.1/additional-options/dns-over-tor/ 301
8383
/1.1.1.1/ipv6-networks/ /1.1.1.1/infrastructure/ipv6-networks/ 301
8484
/1.1.1.1/network-operators/ /1.1.1.1/infrastructure/network-operators/ 301
8585
/1.1.1.1/nitty-gritty-details/ /1.1.1.1/faq/ 301
86-
/1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-telegram/ /1.1.1.1/other-ways-to-use-1.1.1.1/ 301
86+
/1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-telegram/ /1.1.1.1/additional-options/ 301
8787
/1.1.1.1/privacy/firefox/ /1.1.1.1/privacy/cloudflare-resolver-firefox/ 301
8888
/1.1.1.1/setting-up-1.1.1.1/ /1.1.1.1/setup/ 301
8989
/1.1.1.1/setting-up-1.1.1.1/android/ /1.1.1.1/setup/android/ 301
@@ -2202,6 +2202,7 @@
22022202

22032203
### DYNAMIC REDIRECTS ###
22042204
/*/index.html.md /:splat/index.md 301
2205+
/1.1.1.1/other-ways-to-use-1.1.1.1/* /1.1.1.1/additional-options/:splat 301
22052206
/api-next/* /api/:splat 301
22062207
/changelog-next/* /changelog/:splat 301
22072208
/browser-rendering/quick-actions-rest-api/* /browser-rendering/rest-api/:splat 301

src/content/docs/1.1.1.1/other-ways-to-use-1.1.1.1/dns-in-google-sheets.mdx renamed to src/content/docs/1.1.1.1/additional-options/dns-in-google-sheets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
pcx_content_type: tutorial
33
title: DNS in Google Sheets
4-
slug: 1.1.1.1/other-ways-to-use-1.1.1.1/dns-in-google-sheets
4+
slug: 1.1.1.1/additional-options/dns-in-google-sheets
55

66
---
77

src/content/docs/1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-discord.mdx renamed to src/content/docs/1.1.1.1/additional-options/dns-over-discord.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
pcx_content_type: tutorial
33
title: DNS over Discord
4-
slug: 1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-discord
4+
slug: 1.1.1.1/additional-options/dns-over-discord
55

66
---
77

src/content/docs/1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-tor.mdx renamed to src/content/docs/1.1.1.1/additional-options/dns-over-tor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
pcx_content_type: tutorial
33
title: DNS over Tor
4-
slug: 1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-tor
4+
slug: 1.1.1.1/additional-options/dns-over-tor
55
---
66

77
:::caution

src/content/docs/1.1.1.1/other-ways-to-use-1.1.1.1/index.mdx renamed to src/content/docs/1.1.1.1/additional-options/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 5
66
group:
77
hideIndex: true
8-
slug: 1.1.1.1/other-ways-to-use-1.1.1.1
8+
slug: 1.1.1.1/additional-options
99

1010
---
1111

src/content/docs/1.1.1.1/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Unlike most DNS resolvers, 1.1.1.1 does not sell user data to advertisers. 1.1.1
3131
</Feature>
3232

3333
<Feature header="Encrypted service" href="/1.1.1.1/encryption/">
34-
1.1.1.1 offers an encrypted service through DNS over HTTPS (DoH) or DNS over TLS (DoT) for increased security and privacy. You can also access 1.1.1.1 [as a Tor hidden service](/1.1.1.1/other-ways-to-use-1.1.1.1/dns-over-tor/).
34+
1.1.1.1 offers an encrypted service through DNS over HTTPS (DoH) or DNS over TLS (DoT) for increased security and privacy. You can also access 1.1.1.1 [as a Tor hidden service](/1.1.1.1/additional-options/dns-over-tor/).
3535
</Feature>
3636

3737
***

0 commit comments

Comments
 (0)