Skip to content

sitemap in google search console says "Couldn't fetch" #75836

@Giorgi-Gamgebeli

Description

@Giorgi-Gamgebeli

Discussed in #75774

Originally posted by CodingReaper1 February 6, 2025

Link to the code that reproduces this issue

https://github.com/CodingReaper1/TheWildOasisAdminNextJs

To Reproduce

you don't need to reproduce I think

Current vs. Expected behavior

So I have created dynamic sitemap in nextjs which you can isee in my github repo in app folder problem is no matter what I can't successfully register sitemap on google search console.

I have seen discussion about this in github already #51649 however it said that I should create new issue.

I have tried everything shown in that github discussion

I went here www.xml-sitemaps.com/validate-xml-sitemap.html to test sitemap no issues there

I tried adding forward / or search queries in case request was cached

Image

I do have middleware I have page "/sitemap.xlm" in public routes then I tried completly disabling middleware on sitemap page but that didn't work either I have no idea what to do.

Provide environment information

operating system: windows 10
nextjs: 14
react: 18
you can see all packages in repo
live app if that helps somehow: the-wild-oasis-admin-nextjs.vercel.app

Which area(s) are affected? (Select all that apply)

Metadata

Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    MetadataRelated to Next.js' Metadata API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions