Github has a default 404 page mechanism, once provided it will make sure all missed paths will redirect to there. I think we can further redirect the original paths to the available ones in the 404 page. I’ve try added a 404 page in the root directory, but it seems doesn’t work for the current website template. The reason why it doesn’t work is not clear yet.
Jun > On Jan 26, 2021, at 10:16 AM, joezou <[email protected]> wrote: > > Hi, > Agree with build a custom 404 page and redirect users to this page. > > YunKun Huang <[email protected]> 于2021年1月25日周一 下午3:35写道: > >> hey, >> >> Since there are some changes in the dubbo website, most of the urls are >> changed. >> For users coming from search engines, I believe search engines >> already update most of urls, so it should be ok for them. >> But for users coming from blogs/articles, because reference links will not >> automatically updated; When visit old style url, it will show a Not Found >> page. >> >> I have two ideas about this: >> + build a custom 404 page and redirect users to this page. so they can go >> to the homepage and use the search function to find what they want. >> + use htaccess to redirect all old style url to new url, it will have >> better user experience but I'm not sure how much work it needs. >> >> If anyone has experience with related stuff, could you please give some >> suggestions? >> >> Thanks >> Yunkun >>
