Sitemap not replacing the url
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 28/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- nextjs, react, typescript, wordpress
- Ambito
- full-stack, web-dev
Direzione di ricerca
Start by inspecting the mentioned sitemap.xml.tsx and faust.config.js files, then compare the Yoast-generated sitemap URLs with the Faust frontend URLs using the listed package versions. Reproduce the blank-list behavior when replacing the WordPress URL. Done means the sitemap remains populated and its links use the intended frontend URLs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
I'm trying to update the url on the sitemap links, but with no luck, neither from the WP or the FE.
On the WP, I'm using the Yoast SEO plugin to generate the sitemap, and without any changes, the plugin provides with the normal WP url.
But, then, when I try to replace on the WP the link, the page returns a blank list, so I removed the replace function.
Although this is related to the Yoast plugin, on the FE, the Faust plugin is not replacing the BE link with the FE link, so this should also be validated from this plugin.
Versions:
"@apollo/client": "^3.10.4",
"@faustwp/blocks": "^4.1.0",
"@faustwp/cli": "^3.1.0",
"@faustwp/core": "^3.1.0",
"@wordpress/base-styles": "^4.49.0",
"@wordpress/block-library": "^8.35.0",
"@wordpress/style-engine": "^1.41.0",
"graphql": "^16.6.0",
"next": "^14.2.3",
"react": "^18.3.1",
For the faust.config.js :
import { setConfig } from "@faustwp/core";
import templates from "@/wp-templates";
import possibleTypes from "@/possibleTypes.json";
import { I18nPlugin, RelayPagination } from "@/plugins";
/**
* @type {import('@faustwp/core').FaustConfig}
**/
export default setConfig({
templates,
plugins: [new I18nPlugin(), new RelayPagination()],
experimentalToolbar: true,
possibleTypes,
usePersistedQueries: true,
});
the sitemap.xml.tsx
I don't know if there is any other option I can try or if I have to change anything to make it work
Steps to reproduce
NA
Additional context
No response
@faustwp/core Version
^3.1.0
@faustwp/cli Version
^3.1.0
FaustWP Plugin Version
1.4.1
WordPress Version
6.6.2
Additional environment details
No response
Please confirm that you have searched existing issues in the repo.
- Yes
- Lingua principale
- TypeScript
- Stelle
- 1.6k
- Fork
- 155
- Merge medio
- 1g 18h
- PR unite (30g)
- 20
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wpengine/faustjs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
Tutte le issue di wpengine/faustjs
Issue simili
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Crush Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
ElementsProject/cln-application#167 · 1 commento · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Quantco/pnpm-licenses#17 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100