Skip to content

Commit

Permalink
[website] Disable SEO for MUI Experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 16, 2022
1 parent 30e42b8 commit 0ce3743
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/pages/experiments/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from 'react';
import Head from 'docs/src/modules/components/Head';
import { capitalize } from '@mui/material/utils';
import Box from '@mui/material/Box';
import CssBaseline from '@mui/material/CssBaseline';
Expand Down Expand Up @@ -32,6 +33,9 @@ export default function Experiments({ experiments }) {

return (
<React.Fragment>
<Head>
<meta name="robots" content="noindex,nofollow" />
</Head>
<CssBaseline />
<Container>
<Box
Expand Down
3 changes: 3 additions & 0 deletions docs/public/_headers
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/favicon.ico
Content-Type: image/x-icon

/experiments/*
X-Robots-Tag: noindex

/*
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
# Block usage in iframes.
Expand Down

0 comments on commit 0ce3743

Please sign in to comment.