Skip to content

docs: update landing page redirects #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,10 @@
status = 301
force = true

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

Expand All @@ -126,3 +124,17 @@
to = "https://testing-library.com/docs/ecosystem-jest-dom"
status = 301
force = true

# Testcafe landing page to home page
[[redirects]]
from = "https://testing-library.com/testcafe/"
to = "https://testing-library.com/docs/testcafe-testing-library/intro"
status = 301
force = true

# Nightwatch landing page to home page
[[redirects]]
from = "https://testing-library.com/nightwatch/"
to = "https://testing-library.com/docs/nightwatch-testing-library/intro"
status = 301
force = true