Reputation: 1
I'm using clerk/nextjs 5.1.5 in my next 14.2.4 app with middleware.
My home page is not protected by middleware and is publicly accessible. I want my home page to be indexed by Google.
However, it isn't getting indexed by Google because Clerk is causing too many redirects when the Google bot goes to my home page. Has anyone run into this problem with Clerk before?
Same issue but using the Lighthouse Chrome Extension
I tried:
Changing my Clerk NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,CLERK_SECRET_KEY keys to a new Clerk Application in case my Clerk Application was outdated
Adjusting my Clerk middleware Current Clerk Middleware
Upvotes: 0
Views: 320
Reputation: 16
you should use normal clerk middleware and the page u dont want to be protected you can do this:
<signedOut>
<Home />
</signedOut>
Upvotes: 0