Skip to content

Commit bbdf4b4

Browse files
authored
docs: update landing page redirects (#533)
* docs(preact): redirect Preact landing page to docs * docs: Add Testcafe and Nightwatch redirects
1 parent e123b04 commit bbdf4b4

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

netlify.toml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,10 @@
111111
status = 301
112112
force = true
113113

114-
# Preact page. Hopefully it'll join this website eventually
115-
# but for now it'll be nice to be able to use the URL in content/twitter/etc.
116-
# and not have to worry about updating those URLs in the future.
114+
# Preact landing page to home page
117115
[[redirects]]
118116
from = "https://testing-library.com/preact/"
119-
to = "https://github.com/antsmartian/preact-testing-library"
117+
to = "https://testing-library.com/docs/preact-testing-library/intro"
120118
status = 301
121119
force = true
122120

@@ -126,3 +124,17 @@
126124
to = "https://testing-library.com/docs/ecosystem-jest-dom"
127125
status = 301
128126
force = true
127+
128+
# Testcafe landing page to home page
129+
[[redirects]]
130+
from = "https://testing-library.com/testcafe/"
131+
to = "https://testing-library.com/docs/testcafe-testing-library/intro"
132+
status = 301
133+
force = true
134+
135+
# Nightwatch landing page to home page
136+
[[redirects]]
137+
from = "https://testing-library.com/nightwatch/"
138+
to = "https://testing-library.com/docs/nightwatch-testing-library/intro"
139+
status = 301
140+
force = true

0 commit comments

Comments
 (0)