Skip to content

Commit

Permalink
Prevent robots for indexing the 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
Luwangel committed May 17, 2021
1 parent 5494e05 commit 01d8350
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="noindex">

<title>404 - Page introuvable</title>

<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicon/apple-touch-icon.png?v=oLnE8zppbY">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon/favicon-32x32.png?v=oLnE8zppbY">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon/favicon-16x16.png?v=oLnE8zppbY">
<link rel="mask-icon" href="assets/images/favicon/safari-pinned-tab.svg?v=oLnE8zppbY" color="#5561d9">
<link rel="shortcut icon" href="assets/images/favicon/favicon.ico?v=oLnE8zppbY">

<script type="text/javascript">
document.write("<base href=\"" + document.location.protocol + "//" + document.location.host + "/\" />");
</script>
Expand Down
1 change: 1 addition & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ Disallow:

User-agent: *
Allow: /
Disallow: /404.html

Sitemap: https://vitemadose.covidtracker.fr/sitemap.xml

0 comments on commit 01d8350

Please sign in to comment.