-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[docs] SEO fixes #4711
[docs] SEO fixes #4711
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,13 +145,13 @@ Please pay attention to the license. | |
|
||
### Plans | ||
|
||
The component comes [in different plans](/pricing/): | ||
The component comes [in different plans](https://mui.com/pricing/): | ||
|
||
- **Community** Plan: [`@mui/x-data-grid`](https://www.npmjs.com/package/@mui/x-data-grid), published under the [MIT license](https://tldrlegal.com/license/mit-license) and [free forever](https://mui-org.notion.site/Stewardship-542a2226043d4f4a96dfb429d16cf5bd). | ||
- **Pro** Plan: [`@mui/x-data-grid-pro`](https://www.npmjs.com/package/@mui/x-data-grid-pro) published under a [Commercial license](/x/license/). | ||
- **Premium** Plan: [`@mui/x-data-grid-premium`](https://www.npmjs.com/package/@mui/x-data-grid-premium) published under a [Commercial license](/x/license/). | ||
- **Pro** Plan: [`@mui/x-data-grid-pro`](https://www.npmjs.com/package/@mui/x-data-grid-pro) published under a [Commercial license](https://mui.com/store/legal/mui-x-eula/). | ||
- **Premium** Plan: [`@mui/x-data-grid-premium`](https://www.npmjs.com/package/@mui/x-data-grid-premium) published under a [Commercial license](https://mui.com/store/legal/mui-x-eula/). | ||
|
||
More information about the various plans on [the dedicated section](/x/advanced-components#plans) | ||
More information about the various plans on [the dedicated section](/x/advanced-components/#plans) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have reported the bug in https://answers.netlify.com/t/no-trailing-slash-when-using-proxies/48790/6?u=oliviertassinari, ahrefs should have found this, it didn't. |
||
|
||
### Feature comparison | ||
|
||
|
@@ -200,11 +200,11 @@ The enterprise components come in two plans: Pro and Premium. | |
| [Column virtualization](/x/react-data-grid/virtualization/#column-virtualization) | ✅ | ✅ | ✅ | | ||
| [Row virtualization > 100 rows](/x/react-data-grid/virtualization/#row-virtualization) | ❌ | ✅ | ✅ | | ||
| **Group & Pivot** | | | | | ||
| [Tree data](/x/react-data-grid/tree-data) | ❌ | ✅ | ✅ | | ||
| [Master detail](/x/react-data-grid/master-detail) | ❌ | ✅ | ✅ | | ||
| [Row Grouping](/x/react-data-grid/row-grouping) | ❌ | ❌ | ✅ | | ||
| [Aggregation](/x/react-data-grid/aggregation) | ❌ | ❌ | 🚧 | | ||
| [Pivoting](/x/react-data-grid/pivoting) | ❌ | ❌ | 🚧 | | ||
| [Tree data](/x/react-data-grid/tree-data/) | ❌ | ✅ | ✅ | | ||
| [Master detail](/x/react-data-grid/master-detail/) | ❌ | ✅ | ✅ | | ||
| [Row grouping](/x/react-data-grid/row-grouping/) | ❌ | ❌ | ✅ | | ||
| [Aggregation](/x/react-data-grid/aggregation/) | ❌ | ❌ | 🚧 | | ||
| [Pivoting](/x/react-data-grid/pivoting/) | ❌ | ❌ | 🚧 | | ||
| **Misc** | | | | | ||
| [Accessibility](/x/react-data-grid/accessibility/) | ✅ | ✅ | ✅ | | ||
| [Keyboard navigation](/x/react-data-grid/accessibility/#keyboard-navigation) | ✅ | ✅ | ✅ | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
# Proxies | ||
/ /x/advanced-components/ | ||
|
||
## mui-x is configured to be hosted at the root. | ||
/static/* https://material-ui-docs.netlify.app/static/:splat 200 | ||
# For links that we can't edit later on, e.g. hosted in the code published on npm or sent by email | ||
# should all be prefixed with x- | ||
/r/x-get-license scope=pro https://mui.com/store/items/material-ui-pro/ 302 | ||
/r/x-get-license scope=premium https://mui.com/store/items/mui-x-premium/ 302 | ||
/r/x-get-license https://mui.com/pricing/ 302 | ||
/r/x-license-eula https://mui.com/store/legal/mui-x-eula/ 302 | ||
/r/x-license-key-installation https://mui.com/x/advanced-components/#license-key-installation 302 | ||
|
||
## Localization | ||
# Legacy redirection | ||
# 2021 | ||
/fr/* /:splat 200 | ||
/de/* /:splat 200 | ||
/ja/* /:splat 200 | ||
# 2022 | ||
/x/license/ https://mui.com/store/legal/mui-x-eula/ 301 | ||
/x/react-data-grid/group-pivot/ /x/react-data-grid/tree-data/ 301 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the idea here that it's better to redirect to something than 404? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, my assumption is that 404 is worse than not linking the exact correct content. For the client side fragment redirections, why not, we never implemented this before it could help, we had this pain multiple times now. From an SEO perspective, I doubt that Google will ever be able to update it's index from it, so we still need to server side redirect to a working page. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Right. |
||
/:lang/x/react-data-grid/group-pivot/ /:lang/x/react-data-grid/tree-data/ 301 | ||
# 2023 | ||
|
||
# Redirections | ||
|
||
/ /x/react-data-grid/ | ||
# Proxies | ||
|
||
## Redirections have to be done in the core repository, it owns the domain name. | ||
## e.g. https://github.com/mui/material-ui/blob/HEAD/docs/public/_redirects#L31 | ||
## mui-x is configured to be hosted at the root. | ||
oliviertassinari marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/static/* https://material-ui-docs.netlify.app/static/:splat 200 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this redirect necessary? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be clear this line is moved, I think that it's beyond the scope of this PR. MUI X duplicates all the @mui/monorepo static files. So this line is not necessary under the current approach, we could remove it. But is the current approach the right one? I propose an alternative in #4790. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, I didn't notice that it was moved. Diffs are hard :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that once this content is not longer the active version, developers will still land on the latest pricing page.