Page route URL collision
Unanswered
English Angora posted this in #help-forum
English AngoraOP
i have 2 pages
pages/user/[pay_Id]/success.js
pages/user/[url_Value]/[new_Id].js
I can't access the success page (localhost:3000/user/46fs4df46sf/success), instead the other page is loading.
pages/user/[pay_Id]/success.js
pages/user/[url_Value]/[new_Id].js
I can't access the success page (localhost:3000/user/46fs4df46sf/success), instead the other page is loading.
1 Reply
I dont know if there are other better ways but
1) You can turn one of them into a parameter like :
2) you can try different combinations with catchalls and doing the processing yourself
1) You can turn one of them into a parameter like :
pages/user/success?pay_id=shdhdh, or just use parameters in general2) you can try different combinations with catchalls and doing the processing yourself