Sitemap not replacing the url
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- nextjs, react, typescript, wordpress
- Lĩnh vực
- full-stack, web-dev
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 155
- Merge trung bình
- 4 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wpengine/faustjs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
wpengine/faustjs#2383 · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wpengine/faustjs#2308 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wpengine/faustjs
Issue tương tự
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mermaid-js/mermaid-live-editor#2053 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
factory
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
jessepollak/home#1455 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
lingdojo/kana-dojo#31227 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mobile: device viewer shows dark status bar icons on its dark backdrop in light mode (Android)Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
appandflow/stim#1838 ·
Maintainer thường phản hồi trong vòng 1 ngày