https://redirect-convert-tool.web.app
-
Select country you want to make redirect.json (the first dropdown in web).
-
Click download example data.xlsx link to download the xlsx template.
-
Fill in data urls for this downloaded file.
-
Login to the tool with
- Username: chopper@decathlon.com
- Password: Chopper@123
-
Select country you want to make redirect.json (the first dropdown in web).
-
Upload the latest redirect.json. The latest
redirect.json
is keept in git already under thepublic
folder ofapac-chopper-redirect-convert-tool
repository, or you can download it from GCP -
Click
Generage redirect.json
button -
Check the log and correct the sheet if any error (fix sheet error and repeat from step 1 again if any)
-
Make sure no more errors in logs => download the
redirect.json
and override with existing in git (underpublic
folder) -
Use git merge tool to double check the changes (make sure we change correct)
-
Upload the new
redirect.json
to GCP -
Commit all change on
redirect.json
, data excel to git for keep track
- After generated redirect.json file, we will run
check-404.sh
- The output file is
check404Result.json
; this is the file keeping the success urls and error urs, with success urls we will skip check for the next test, with error urls we will update with the team for correct
- To override existing convert, just make a new sheet and put it at the right side then update the value. The right value will override the left value in case duplicated url