How can i load same page for two separate urls?
I have working url
/login
. Now my new requirement wants me to load the same page but with different urls /login-fb
or /login-google
or any other way letting the user know from where they were redirected. Everything needs to be same but the url.
I have tried using middleware to handle such redirection, but the new page doesn't exist so has 404 error.
I want to handle this properly so that in future if other such links are added, there will be less files to modify.
Thanks in advance.3 Replies