Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

add custom redirects and 404 page #16273

Closed
aaronmarkham opened this issue Sep 25, 2019 · 2 comments
Closed

add custom redirects and 404 page #16273

aaronmarkham opened this issue Sep 25, 2019 · 2 comments
Labels

Comments

@aaronmarkham
Copy link
Contributor

aaronmarkham commented Sep 25, 2019

Since the launch of the new site, there have been a variety of reports of 404s from google search results.

  1. While reindexing should fix this, an interim solution would be a nicer 404 page.
  2. Also, some commonly requested URLs could be redirected to their new home.
    For example:
    /install could go to /get_started

A detailed discussion on redirects for the old site can be found here and adapted to the new site:
https://cwiki.apache.org/confluence/display/MXNET/Redirects+on+the+Website

Please note there is already a .htaccess file and a 404 page in the static site. These just need to be linked up.

You can also test deployment on the staging server and this should have redirect enabled.
The code in this pipeline shows how to publish to beta.
http://jenkins.mxnet-ci.amazon-ml.com/job/restricted-website-publish-beta/
One strategy could be to just push your changes to the beta-site branch and preview there.
https://github.com/apache/incubator-mxnet-site/blob/beta-site/.htaccess
This file right now, is in fact, laced with garbage to test.

@mxnet-label-bot
Copy link
Contributor

Hey, this is the MXNet Label Bot.
Thank you for submitting the issue! I will try and suggest some labels so that the appropriate MXNet community members can help resolve it.
Here are my recommended label(s): Feature

@ThomasDelteil
Copy link
Contributor

This is fixed in #16342

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants