Skip to content

Commit c775a41

Browse files
committed
move redirects to _redirects file
1 parent 13444e4 commit c775a41

File tree

2 files changed

+72
-61
lines changed

2 files changed

+72
-61
lines changed

astro.config.mjs

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -20,65 +20,4 @@ export default defineConfig({
2020
noExternal: ["@datapunt/matomo-tracker-react", "@datapunt/matomo-tracker-js"]
2121
}
2222
},
23-
redirects: {
24-
'/3.1.0-video': "https://www.youtube.com/watch?v=HpA138b-J9s",
25-
'/3.2.0-video': "https://www.youtube.com/watch?v=DTRnDNR9LR8",
26-
"/3.4.0-video": "https://www.youtube.com/watch?v=xgdYuSHdkso",
27-
"/3.5.0-video": "https://www.youtube.com/watch?v=qEAZv_o0HuQ",
28-
"/3.6.0-video": "https://www.youtube.com/watch?v=f5TXPUOFH6A",
29-
"/3.7.0-video": "https://www.youtube.com/watch?v=f5TXPUOFH6A",
30-
'/realtime-video': "https://www.youtube.com/watch?v=DTRnDNR9LR8",
31-
'/errors': "https://support.audacityteam.org/troubleshooting/error-codes",
32-
'/nightly': "/beta",
33-
'/help/faq': "https://manual.audacityteam.org/man/faq.html",
34-
'/download/plug-ins/': "https://plugins.audacityteam.org/",
35-
'/help/documentation/': "https://support.audacityteam.org/",
36-
'/gitbook-plugins': "https://app.gitbook.com/invite/-MhmG2mhIIHTtQPuHV_k/kY9XD8X03nb2bluFgolK",
37-
'/devserver': "https://discord.gg/N3XKxzTrq3",
38-
"/dev": "https://audacity.gitbook.io/dev/",
39-
'/gitbook-access': "https://app.gitbook.com/invite/-MhmG2mhIIHTtQPuHV_k/acNI2LAF6LtdJW06t4Hc",
40-
"/about": "/FAQ#team--news",
41-
"/about/desktop-privacy-notice/": "/desktop-privacy-notice/",
42-
"/about/desktop-privacy-policy/": "/desktop-privacy-notice/",
43-
"/desktop-privacy-policy/": "/desktop-privacy-notice/",
44-
"/about/license/": "https://github.com/audacity/audacity/blob/master/LICENSE.txt",
45-
"/about/citations-screenshots-and-permissions/": "https://github.com/audacity/audacity/blob/master/LICENSE.txt",
46-
"/about/credits/": "https://github.com/audacity/audacity/graphs/contributors",
47-
"/about/features/": "/FAQ#features",
48-
"/about/features/recording/": "/FAQ#features",
49-
"/about/features/export-and-import/": "/FAQ#what-audio-file-formats-are-compatible-with-audacity",
50-
"/about/features/sound-quality/": "/FAQ#what-audio-quality-is-compatible-with-audacity",
51-
"/about/features/plug-ins/": "https://plugins.audacityteam.org/",
52-
"/about/features/editing/": "/FAQ#features",
53-
"/about/features/effects/": "/FAQ#features",
54-
"/about/features/accessibility/": "/FAQ#features",
55-
"/about/features/analysis/": "/FAQ#features",
56-
"/about/screenshots/": "/FAQ#features",
57-
"/about/nyquist/": "https://audacity.gitbook.io/dev/scripting/creating-your-own-nyquist-plugins",
58-
"/about/news/": "/blog",
59-
"/download/online-safety-when-downloading/": "/FAQ#is-audacity-safe-to-download",
60-
"/download/source/": "/download",
61-
"/download/legacy-windows/": "/download/windows",
62-
"/download/legacy-mac/": "/download/mac",
63-
"/help/": "https://support.audacityteam.org/",
64-
"/contact/": "/FAQ#i-have-a-question-or-issue-with-audacity-is-there-a-support-team-i-can-contact",
65-
"/community/": "https://support.audacityteam.org/community/contributing",
66-
"/community/users/": "https://support.audacityteam.org/community/contributing",
67-
"/community/developers/": "https://audacity.gitbook.io/dev",
68-
"/community/translators/": "https://support.audacityteam.org/community/contributing/translating",
69-
"/copyright/": "https://github.com/audacity/audacity/blob/master/LICENSE.txt",
70-
"/Setup-Exit-Codes/": "https://support.audacityteam.org/troubleshooting/error-codes/installation-exit-codes",
71-
"/cla": "/CLA",
72-
"/)" : "/",
73-
"/changelog": "https://support.audacityteam.org/additional-resources/changelog",
74-
"/au4win": "https://nightly.link/audacity/audacity/workflows/au4_build_windows/master",
75-
"/au4mac": "https://nightly.link/audacity/audacity/workflows/au4_build_macos/master",
76-
"/au4lin": "https://nightly.link/audacity/audacity/workflows/au4_build_linux/master",
77-
"/survey": "https://po415hli6k2.typeform.com/hub-audacity",
78-
"/audacitypromo": "https://www.youtube.com/watch?v=Lb7jx4wdXXE&mtm_campaign=audacityapp&mtm_content=welcomescreen_video",
79-
"/mh-whatsnew": "https://www.musehub.com/plugin/polyspectral-mbc?utm_source=au&utm_medium=mh-whats-new&utm_campaign=polyspectral_page",
80-
"/mh-effectmenu":"https://musehub.com/plugins?utm_source=au&utm_medium=mh-effectmenu&utm_campaign=mh_plugins",
81-
"/mh-rtepanel":"https://musehub.com/plugins?utm_source=au&utm_medium=mh-rtepanel&utm_campaign=mh_plugins",
82-
"/mh-pluginmanager":"https://musehub.com/plugins?utm_source=au&utm_medium=mh-pluginmanager&utm_campaign=mh_plugins"
83-
}
8423
});

public/_redirects

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# release videos
2+
/3.1.0-video https://www.youtube.com/watch?v=HpA138b-J9s
3+
/3.2.0-video https://www.youtube.com/watch?v=DTRnDNR9LR8
4+
/3.4.0-video https://www.youtube.com/watch?v=xgdYuSHdkso
5+
/3.5.0-video https://www.youtube.com/watch?v=qEAZv_o0HuQ
6+
/3.6.0-video https://www.youtube.com/watch?v=f5TXPUOFH6A
7+
/3.7.0-video https://www.youtube.com/watch?v=f5TXPUOFH6A
8+
9+
# in-app links
10+
/realtime-video https://www.youtube.com/watch?v=DTRnDNR9LR8
11+
/errors https://support.audacityteam.org/troubleshooting/error-codes
12+
/changelog https://support.audacityteam.org/additional-resources/changelog
13+
14+
# required for MS store
15+
/Setup-Exit-Codes/ https://support.audacityteam.org/troubleshooting/error-codes/installation-exit-codes
16+
17+
#website links
18+
/gitbook-plugins https://app.gitbook.com/invite/-MhmG2mhIIHTtQPuHV_k/kY9XD8X03nb2bluFgolK
19+
/gitbook-access https://app.gitbook.com/invite/-MhmG2mhIIHTtQPuHV_k/acNI2LAF6LtdJW06t4Hc
20+
/devserver https://discord.gg/N3XKxzTrq3
21+
/dev https://audacity.gitbook.io/dev/
22+
/nightly /beta
23+
/au4win https://nightly.link/audacity/audacity/workflows/au4_build_windows/master
24+
/au4mac https://nightly.link/audacity/audacity/workflows/au4_build_macos/master
25+
/au4lin https://nightly.link/audacity/audacity/workflows/au4_build_linux/master
26+
27+
# convenience redirects
28+
/cla /CLA
29+
/) /
30+
31+
# campaign links
32+
/survey https://po415hli6k2.typeform.com/hub-audacity
33+
/audacitypromo https://www.youtube.com/watch?v=Lb7jx4wdXXE&mtm_campaign=audacityapp&mtm_content=welcomescreen_video
34+
/mh-whatsnew https://www.musehub.com/plugin/polyspectral-mbc?utm_source=au&utm_medium=mh-whats-new&utm_campaign=polyspectral_page
35+
/mh-effectmenu https://musehub.com/plugins?utm_source=au&utm_medium=mh-effectmenu&utm_campaign=mh_plugins
36+
/mh-rtepanel https://musehub.com/plugins?utm_source=au&utm_medium=mh-rtepanel&utm_campaign=mh_plugins
37+
/mh-pluginmanager https://musehub.com/plugins?utm_source=au&utm_medium=mh-pluginmanager&utm_campaign=mh_plugins
38+
39+
# old website links
40+
/help/faq https://manual.audacityteam.org/man/faq.html
41+
/download/plug-ins/ https://plugins.audacityteam.org/
42+
/help/documentation/ https://support.audacityteam.org/
43+
/about /FAQ#team--news
44+
/about/desktop-privacy-notice/ /desktop-privacy-notice/
45+
/about/desktop-privacy-policy/ /desktop-privacy-notice/
46+
/desktop-privacy-policy/ /desktop-privacy-notice/
47+
/about/license/ https://github.com/audacity/audacity/blob/master/LICENSE.txt
48+
/about/citations-screenshots-and-permissions/ https://github.com/audacity/audacity/blob/master/LICENSE.txt
49+
/about/credits/ https://github.com/audacity/audacity/graphs/contributors
50+
/about/features/ /FAQ#features
51+
/about/features/recording/ /FAQ#features
52+
/about/features/export-and-import/ /FAQ#what-audio-file-formats-are-compatible-with-audacity
53+
/about/features/sound-quality/ /FAQ#what-audio-quality-is-compatible-with-audacity
54+
/about/features/plug-ins/ https://plugins.audacityteam.org/
55+
/about/features/editing/ /FAQ#features
56+
/about/features/effects/ /FAQ#features
57+
/about/features/accessibility/ /FAQ#features
58+
/about/features/analysis/ /FAQ#features
59+
/about/screenshots/ /FAQ#features
60+
/about/nyquist/ https://audacity.gitbook.io/dev/scripting/creating-your-own-nyquist-plugins
61+
/about/news/ /blog
62+
/download/online-safety-when-downloading/ /FAQ#is-audacity-safe-to-download
63+
/download/source/ /download
64+
/download/legacy-windows/ /download/windows
65+
/download/legacy-mac/ /download/mac
66+
/help/ https://support.audacityteam.org/
67+
/contact/ /FAQ#i-have-a-question-or-issue-with-audacity-is-there-a-support-team-i-can-contact
68+
/community/ https://support.audacityteam.org/community/contributing
69+
/community/users/ https://support.audacityteam.org/community/contributing
70+
/community/developers/ https://audacity.gitbook.io/dev
71+
/community/translators/ https://support.audacityteam.org/community/contributing/translating
72+
/copyright/ https://github.com/audacity/audacity/blob/master/LICENSE.txt

0 commit comments

Comments
 (0)