Create Redirects for Old URLs
|Assignee:||Pavan Rikhi||% Done:|
|Target version:||v1.0.0 - Deployment|
We'll need to redirect from old urls to our new urls. See if we can use some sort of redirect map with nginx? Have the data migration script spit out whatever we need, since the urls have things like IDs in them.At minimum:
- Quick Order
- Account Pages
- Log In
- Advanced Search
- All/Org/Heirloom/Etc Product Pages(maybe all Search Results?)
#2 Updated by Pavan Rikhi 7 months ago
Pavan Rikhi wrote:
Have the data migration script spit out whatever we need, since the urls have things like IDs in them.
Might be better to simply modify the migration script so the IDs of the new rows match the old rows. Then maybe we can redirect them to something like
/api/redirector/categories/<ID> and have that redirect to the proper URL by querying the database for the current slug.