diff --git a/docs/static_site/src/.htaccess b/docs/static_site/src/.htaccess index 16420306f1e1..b5de581b80b2 100644 --- a/docs/static_site/src/.htaccess +++ b/docs/static_site/src/.htaccess @@ -22,3 +22,7 @@ RewriteCond %{REQUEST_URI} !\/$ RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME}/index.html -f RewriteRule ^(.*) $1/index.html [NC,L] + + +# 404 +ErrorDocument 404 /404.html diff --git a/docs/static_site/src/404.html b/docs/static_site/src/404.html index c472b4ea0a78..ed01bd7bab45 100644 --- a/docs/static_site/src/404.html +++ b/docs/static_site/src/404.html @@ -19,6 +19,12 @@

404

-

Page not found :(

-

The requested page could not be found.

+

Page not found :'(

+ +

Due to a recent redesign of the website, some items have moved + We're working towards adding redirects. Useful links:

+
+
  • Python Tutorials
  • +
  • Python API Documentation
  • +