Alternate href urls breaks sitemap
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- web-dev
Research direction
Start by reproducing the alternate href configuration described in the README and inspect the generated sitemap XML. Compare its namespace and link elements with Google's localized-versions example; done when Google Search Console accepts the sitemap without the invalid child-element error.
Written by the indexing model from the issue text.
Description
Hello !
When i tried with alternate href like in the readme i have the following error on google console:
The element 'url' has invalid child element 'link' in namespace 'http://www.w3.org/TR/xhtml11/xhtml11_schema.html'. List of possible elements expected: any element in namespace 'http://www.google.com/schemas/sitemap-image/1.1, http://www.google.com/schemas/sitemap-mobile/1.0, http://www.google.com/schemas/sitemap-video/1.1'.
I think it is related to : https://developers.google.com/search/docs/specialty/international/localized-versions#example_2 . They said to Specify the xhtml namespace as follows:
xmlns:xhtml="http://www.w3.org/1999/xhtml"
I did not find a way to make it work with this plugin but maybe that's me who is wrong on my way to do it
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from code-forge-io/seo-tools
-
Global handle function for Remix/React Router v7Possibly taken @mateussilva92 claimed this 313 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
code-forge-io/seo-tools#18 ·
-
Meta with React 19Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
code-forge-io/seo-tools#17 ·
-
RR7 splat routesOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
code-forge-io/seo-tools#16 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
code-forge-io/seo-tools#13 · 1 reaction ·
-
Duplicate urls returned by `generateRemixSitemap` using React Router 7Possibly taken @mateussilva92 claimed this 313 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
code-forge-io/seo-tools#12 · 1 comment · 4 reactions ·
All issues in code-forge-io/seo-tools
Similar issues
-
bug(core): JsonOutputKeyToolsParser ignores returnId: truePossibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
langchain-ai/langchainjs#12239 ·
Maintainers usually reply within 1 day
-
Board view: the Monitoring column is always empty because compact issue rows drop displayStatusOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
paperclipai/paperclip#21837 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
code-yeongyu/senpi#6813 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 93/100
lingdojo/kana-dojo#34169 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100