-
Xin chào, trang web của tôi gặp tình trạng Post_Sitemap 404 tôi cần hướng giải quyết
-
Xin chào! Tôi xin lỗi vì sự cố bạn đang gặp phải. Tình trạng Post_Sitemap 404 có thể xảy ra khi tệp post-sitemap.xml không tồn tại trên trang web của bạn. Điều này có thể gây khó khăn cho Google trong việc tìm thấy các bài viết trên trang web của bạn.
Để giải quyết vấn đề này, bạn có thể thực hiện các bước sau:
-
Đảm bảo rằng bạn đã cài đặt và kích hoạt Rank Math SEO plugin trên trang web của mình. Plugin này sẽ tạo ra các tệp sitemap tự động, bao gồm cả post-sitemap.xml.
-
Kiểm tra xem tệp post-sitemap.xml có tồn tại trong thư mục gốc của trang web của bạn hay không. Bạn có thể sử dụng trình duyệt tệp hoặc FTP để kiểm tra điều này.
-
Nếu tệp post-sitemap.xml không tồn tại, hãy thử làm mới lại bản cache của trang web và kiểm tra lại. Bạn cũng có thể thử xóa và cài đặt lại plugin Rank Math để đảm bảo rằng nó được cài đặt và cấu hình đúng.
Nếu sau khi thực hiện các bước trên mà vẫn gặp vấn đề, tôi khuyên bạn nên trả lời lại ticket hỗ trợ hiện tại của mình. Một nhân viên hỗ trợ từ đội ngũ Rank Math sẽ tiếp tục hỗ trợ bạn và giải quyết vấn đề này.
Xin lỗi vì sự bất tiện này và cảm ơn bạn đã liên hệ với chúng tôi để giải quyết vấn đề này. Nếu bạn có bất kỳ câu hỏi hoặc yêu cầu hỗ trợ khác, xin vui lòng cho chúng tôi biết.
Sources:
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
How To Exclude Rank Math Sitemaps from Caching » Rank Math
Indexed, Not Submitted in Sitemap – Google Search Console » Rank Mathxin chào tôi vẫn không thể fix lỗi
Hello,
Thank you for contacting Rank Math support. I’m sorry to hear that you are having trouble with your sitemap.
Please note that for your post-sitemap.xml file to work, you need to have an actual published post on your website. If you have a published post on your website, then please follow these steps to troubleshoot the issue:
- Reset your WordPress permalinks by going to WordPress Dashboard > Settings > Permalinks and clicking Save Changes without making any changes.
- Regenerate your sitemap by going to Rank Math > Sitemap Settings and changing the Link per Sitemap to 201 or anything else and then click Save Changes. You can change it later, this is just to regenerate your sitemap. You can follow this screencast: https://i.rankmath.com/pipRDp
- Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/ - To make sure your sitemap gets updated immediately, add the following code to your site:
/** * Filter if XML sitemap transient cache is enabled. * * @param boolean $unsigned Enable cache or not, defaults to true */ add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
You can learn how to add this code to your website here: https://rankmath.com/kb/wordpress-hooks-actions-filters/
If none of these steps resolve the issue, please let us know and provide us with your WordPress login details and FTP access in the Sensitive Data section so we can take a closer look.
We hope this helps. Please let us know if you have any questions or concerns.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
-
The ticket ‘Post SiteMap 404’ is closed to new replies.