Noindex problem
Unanswered
American Chinchilla posted this in #help-forum
American ChinchillaOP
Hello everyone i have noindex problem in google search console.
I checked everything possible, changed useSearchParams, put everything in suspense, but still cant figure it out where is the the problem.
I will be very grateful if someone could help me.
I checked everything possible, changed useSearchParams, put everything in suspense, but still cant figure it out where is the the problem.
I will be very grateful if someone could help me.
10 Replies
@American Chinchilla Hello everyone i have noindex problem in google search console.
I checked everything possible, changed useSearchParams, put everything in suspense, but still cant figure it out where is the the problem.
I will be very grateful if someone could help me.
Yacare Caiman
Hello,i will able to help more if i can see your project directory, (github)
American ChinchillaOP
hello, yes
Yacare Caiman
also share me the google console screenshot of pages and sitemap tab
American ChinchillaOP
it says In HTTP header was found X-Robots-Tag
Yacare Caiman
the error is most likely to be caused inside metadata in your layout.tsx at root folder change this alternates: {
canonical: "./",
}, to this alternates: {
canonical: "/",
},
canonical: "./",
}, to this alternates: {
canonical: "/",
},
after changing try to resumbit your https://myride.bg/sitemap.xml to search console in sitemap tab!
it will fix your error!
American ChinchillaOP
Thanks, I will try and keep you informed