Skip to content

Commit fc4ba7f

Browse files
committed
wording fixes
1 parent ad48095 commit fc4ba7f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fern/snippets/redirects.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ If your docs are hosted on a subpath (like `buildwithfern.com/learn`), include t
4141

4242
### Best practices
4343

44-
Only add redirects when necessary. Having a long list of redirects can slow down your site since each request must check against all redirect rules before routing the user.
45-
46-
Avoid using redirects for 404 handling or versioning behavior, as Fern provides built-in settings for these use cases.
44+
For optimal site performance, only add redirects when necessary. Avoid using redirects for behavior that Fern already handles automatically, such as 404 handling and version routing.
4745

4846
<AccordionGroup>
4947
<Accordion title="404 handling">
@@ -71,7 +69,7 @@ redirects:
7169
destination: /docs/event-notifications/v2 # Don't do this
7270
```
7371

74-
This breaks Fern's version switcher behavior, potentially creating redirect loops or preventing users from navigating between versions.
72+
Manually overriding the default versioning behavior can lead to unexpected redirect patterns.
7573

7674
If you frequently need to redirect from the default version to another version, consider changing which version is set as default in your versions configuration.
7775

0 commit comments

Comments
 (0)