I have a language learning website.
I am trying to get the main app page indexed on Google. However, on the first run, the website is designed to redirect to https://www.example.com/vocab/first-run, where the user goes through a tutorial.
Hence, I coded the page such that, if there is a parameter
nfr=0 in the link, it will not redirect.
Now, here's my problem. Unfortunately, initially there was a bug in the code and it redirected to the login page. When Google crawled that link, it excluded that link from indexing, giving the error,
Duplicate, submitted URL not selected as canonical
I have since fixed the bug and requested indexing twice, yet it does not change status. It still shows that error and in the details page, it shows that the login page is the canonical detected page and not vocab/learn.
I request help in getting Google to recognise the right canonical page and include it in indexing.