Skip to content

[website] Rename domain to mui.com#28332

Merged
mnajdova merged 6 commits intomui:masterfrom
mnajdova:feat/rename-domain
Sep 15, 2021
Merged

[website] Rename domain to mui.com#28332
mnajdova merged 6 commits intomui:masterfrom
mnajdova:feat/rename-domain

Conversation

@mnajdova
Copy link
Member

@mnajdova mnajdova commented Sep 14, 2021

Questions:

  • Should we update the netlify instance to publish on the new domain?
  • Are the _redirects update correct?

Other things to do:

  • Publish the previous versions to v[version].mui.com?
  • Update the medium blog post links to point to https://mui.com?
  • Run a SEO crawler once done and fix all the issues coming
  • else?

@mui-pr-bot
Copy link

mui-pr-bot commented Sep 14, 2021

Details of bundle changes

Generated by 🚫 dangerJS against 3eafe0b

@mnajdova mnajdova marked this pull request as ready for review September 14, 2021 11:34
@mnajdova mnajdova requested a review from a team September 14, 2021 11:35
/v0.3.2 https://v0.material-ui.com/v0.3.2
/v0.3.1 https://v0.material-ui.com/v0.3.1
/v0.3.0 https://v0.material-ui.com/v0.3.0
/v0.20.0 https://v0.mui.com/v0.20.0
Copy link
Member Author

Choose a reason for hiding this comment

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

Should we remove these?

Copy link
Member

Choose a reason for hiding this comment

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

We could, but likely in a different PR for history revision.

/customization/themes/ /customization/theming/ 301
https://v1-5-0.material-ui.com/* https://v1.material-ui.com/:splat 301!
https://v3-9-0.material-ui.com/* https://v3.material-ui.com/:splat 301!
https://v1-5-0.mui.com/* https://v1.mui.com/:splat 301!
Copy link
Member Author

Choose a reason for hiding this comment

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

Should we remove these?

Copy link
Member

Choose a reason for hiding this comment

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

No objections, the context: #16541, likely in a different PR. And likely we need to do the same for some of the v4 versions.

Copy link
Member Author

Choose a reason for hiding this comment

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

Alright, will do it in a dedicated PR after the stable release.

@mnajdova
Copy link
Member Author

_redirects

## material-ui-x
## Unlike the store that expect to be hosted under a subfolder,
## material-ui-x is configured to be hosted at the root.
/api/*/ https://docs-v5--material-ui-x.netlify.app/api/:splat/ 200
/:lang/api/*/ https://docs-v5--material-ui-x.netlify.app/:lang/api/:splat/ 200
/components/* https://docs-v5--material-ui-x.netlify.app/components/:splat 200
/:lang/components/* https://docs-v5--material-ui-x.netlify.app/:lang/components/:splat 200
/_next/* https://docs-v5--material-ui-x.netlify.app/_next/:splat 200
/static/x/* https://docs-v5--material-ui-x.netlify.app/static/x/:splat 200

These look suspicious. Should we change them before going live?

@eps1lon
Copy link
Member

eps1lon commented Sep 14, 2021

Olivier has to say something about the redirects. I'm not familiar with most of these.

Though I can revert the changes to translated markdown files

$ git checkout master -- '*-de.md'
$ git checkout master -- '*-es.md'
# etc.

@m4theushw
Copy link
Collaborator

These look suspicious. Should we change them before going live?

These redirects are for the v5 docs of the DataGrid. Once we release v5.0.0-beta.0 this week, it will have the same look of the core v5 docs. Previously, we were pointing to https://next--material-ui-x.netlify.app/, but this is our development branch. Then, I created docs-v5 which will host the deployed docs. This new branch was based on master, so it still has the old look. See #28263

@oliviertassinari
Copy link
Member

oliviertassinari commented Sep 14, 2021

I could find this page on the matter in the search console: https://search.google.com/search-console/settings/change-address?resource_id=sc-domain%3Amaterial-ui.com

Screenshot 2021-09-14 at 17 21 17

For those that don't have access, their "Learn more" points to https://developers.google.com/search/docs/advanced/crawling/site-move-with-url-changes.

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation. label Sep 14, 2021
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

@mnajdova Looks good


Should we update the netlify instance to publish on the new domain?

I think that we can use the "primary domain" abstraction. In https://app.netlify.com/sites/material-ui-docs/settings/domain

Screenshot 2021-09-14 at 17 45 07

Are the _redirects update correct?

Should we also add a https://material-ui.com/* https://mui.com/:splat 301! redirection?

Publish the previous versions to v[version].mui.com?

This is done automatically by changing the primary domain in Netlify's config.

Update the medium blog post links to point to https://mui.com?

Done. For all the blog posts I could find

Screenshot 2021-09-14 at 17 57 47

Run a SEO crawler once done and fix all the issues coming

We will likely have to wait for being on the main domain

These look suspicious. Should we change them before going live?

@m4theushw Started to answer it. I will complement it by saying that Netlify recommends using the production URL with proxies, it might not work correctly otherwise. We can wait to hit the fan.

/v0.3.2 https://v0.material-ui.com/v0.3.2
/v0.3.1 https://v0.material-ui.com/v0.3.1
/v0.3.0 https://v0.material-ui.com/v0.3.0
/v0.20.0 https://v0.mui.com/v0.20.0
Copy link
Member

Choose a reason for hiding this comment

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

We could, but likely in a different PR for history revision.

/customization/themes/ /customization/theming/ 301
https://v1-5-0.material-ui.com/* https://v1.material-ui.com/:splat 301!
https://v3-9-0.material-ui.com/* https://v3.material-ui.com/:splat 301!
https://v1-5-0.mui.com/* https://v1.mui.com/:splat 301!
Copy link
Member

Choose a reason for hiding this comment

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

No objections, the context: #16541, likely in a different PR. And likely we need to do the same for some of the v4 versions.

@mnajdova
Copy link
Member Author

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Sep 15, 2021
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Sep 15, 2021
@mnajdova
Copy link
Member Author

@oliviertassinari should we also add the following redirects:

https://v0.material-ui.com/* https://v0.mui.com/:splat 301!
https://v1.material-ui.com/* https://v1.mui.com/:splat 301!
https://v3.material-ui.com/* https://v3.mui.com/:splat 301!
https://v4.material-ui.com/* https://v4.mui.com/:splat 301!

@mnajdova mnajdova changed the title [docs] Rename domain to mui.com [website] Rename domain to mui.com Sep 15, 2021
@mnajdova mnajdova added website Pages that are not documentation-related, marketing-focused. and removed docs Improvements or additions to the documentation. labels Sep 15, 2021
@oliviertassinari
Copy link
Member

should we also add the following redirects:

@mnajdova Yeah, makes sense 👍

@mnajdova mnajdova merged commit 24015d1 into mui:master Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website Pages that are not documentation-related, marketing-focused.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants