Google Not Indexing My App
Unanswered
Dwarf Crocodile posted this in #help-forum
Dwarf CrocodileOP
Hi all. I am new to Next.js so apologies for anything obvious I have missed in the following post.
My site is not being indexed by Google. I am using Vercel, Clerk and Next.js.
It has been active for a good few months now. The Google search console reveals a 401 error when navigating to the route of my app. The same is reflected in my Vercel deployment logs with the middleware icon showing (see image).
It is strange because my route url does not require authentication and is in the public url array in my middleware file. All other routes do require authentication. I have added robots.txt and sitemap.xml a little over a week ago, but still the same errors.
I am also using a development instance of clerk, so I wonder if it has to do with this (I am yet to migrate to the production instance).
Navigating to my website route in incognito mode is fine and I get a 200 response. The same when sending a GET to my app in Postman. Any ideas? Thanks in advance.
My site is not being indexed by Google. I am using Vercel, Clerk and Next.js.
It has been active for a good few months now. The Google search console reveals a 401 error when navigating to the route of my app. The same is reflected in my Vercel deployment logs with the middleware icon showing (see image).
It is strange because my route url does not require authentication and is in the public url array in my middleware file. All other routes do require authentication. I have added robots.txt and sitemap.xml a little over a week ago, but still the same errors.
I am also using a development instance of clerk, so I wonder if it has to do with this (I am yet to migrate to the production instance).
Navigating to my website route in incognito mode is fine and I get a 200 response. The same when sending a GET to my app in Postman. Any ideas? Thanks in advance.