Skip to content
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] Refine the redirects #31939

Merged
merged 7 commits into from
Mar 23, 2022
Merged

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Mar 22, 2022

Ahrefs Result

https://app.ahrefs.com/site-audit/3276941/8/overview

Screen Shot 2565-03-23 at 11 49 34

Note: All the 404 errors come from mui-x URLs which are out of scope of this PR.


Changes

  • Refine the redirects in post-migration

  • Exclude new URLs from the old docsearch so that we don't have this duplicate

    Screen Shot 2565-03-22 at 12 16 34

@siriwatknp siriwatknp added the docs Improvements or additions to the documentation label Mar 22, 2022
@mui-bot
Copy link

mui-bot commented Mar 22, 2022

No bundle size changes

Generated by 🚫 dangerJS against d7feef8

@siriwatknp siriwatknp force-pushed the docs/prepare-redirects branch from a725c84 to db9e1a4 Compare March 22, 2022 06:44
@@ -95,7 +97,8 @@ function AppLayoutDocs(props) {
}

return (
<AppFrame>
// TODO: remove the condition after post-migration (This is to prevent the new urls from being indexed by the old docsearch app)
<AppFrame className={isNewDocs ? 'exclude-docsearch-indexing' : ''}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@siriwatknp siriwatknp requested a review from mnajdova March 22, 2022 07:05
@siriwatknp siriwatknp merged commit 0d7becb into mui:master Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants