sequelize / website

Our beloved website that contains all versions of our documentations and the API references.
https://sequelize.org
29 stars 155 forks source link

Redirect docs.sequelizejs.com #58

Closed ephys closed 2 years ago

ephys commented 2 years ago

https://docs.sequelizejs.com/ was used at one point to host the documentation. Can we redirect it to the new website?

I think they should be redirect to /v3:

http://docs.sequelizejs.com/en/latest/docs/raw-queries/ should redirect to https://sequelize.org/v3/docs/raw-queries/

sdepold commented 2 years ago

Hmmmm tricky. I can redirect docs. To .org/v3 ?

ephys commented 2 years ago

I think this can be solved by redirecting the domain name first, keeping the path identical, then redirect /en/latest/* to /v3/:splat in netlify

sdepold commented 2 years ago

So I created now the following redirect:

docs.sequelizejs.com => sequelize.org/v3

ephys commented 2 years ago

It looks like it's redirecting to sequelize.org/master which then redirects to v6